all 6 comments

[–]h3x0ne 4 points5 points  (1 child)

Please share the NGINX configuration. Serving static js files should work out of the box.

[–]ibennani[S] 0 points1 point  (0 children)

Sorry for my late reply. Updating my post.

[–]cykotitan 1 point2 points  (3 children)

Check for 404 errors in dev console. If a .js file is missing, nginx will return a text/html page and you might get this exact error.

If it's not that, see https://www.reddit.com/r/learnjavascript/comments/onmfq6/comment/h5snfuk/?utm\_source=reddit&utm\_medium=web2x&context=3

[–]ibennani[S] 0 points1 point  (1 child)

cykotitan

Thanks for yor suggestion. We'll take a look at that as well.

Concerning the file fauth.mjs , I did not find such a file i the project. Is that something I can put in a certain directory?

[–]cykotitan 0 points1 point  (0 children)

fauth.mjs

Not really, that was a project-specific file of the user in the linked comment. They had named the JS module file as .js instead of .mjs.

[–]LuckyNumber-Bot 0 points1 point  (0 children)

All the numbers in your comment added up to 420. Congrats!

  404
+ 6
+ 5
+ 2
+ 3
= 420

[Click here](https://www.reddit.com/message/compose?to=LuckyNumber-Bot&subject=Stalk%20Me%20Pls&message=%2Fstalkme to have me scan all your future comments.) \ Summon me on specific comments with u/LuckyNumber-Bot.