andreasplesch / x_ite_dom

link x_ite to the DOM
http://andreasplesch.github.io/x_ite_dom/index.xhtml
MIT License
6 stars 0 forks source link

JavaScript files not ending in .js? Possibly issue on my web server with Content-Type? #36

Open coderextreme opened 2 years ago

coderextreme commented 2 years ago

I am getting this error in x_ite_dom with latest X_ITE: https://create3000.github.io/code/x_ite/latest/dist/x_ite.min.js

x_ite_dom.1.3.js:93 Error importing document: Error: Script error for "lib/ammojs/ammo", needed by: lib/ammojs/AmmoJS https://requirejs.org/docs/errors.html#scripterror at makeError (x_ite.min.js:3) at HTMLScriptElement.onScriptError (x_ite.min.js:3)

Let me know what i need to install, please! Or do I need to adapt my web server to download files without a .js at the end?

Searching for the ammojs folder reveals that it's not on my server!

$ find . -type f -print0| xargs -0 grep -i ammojs

[ no output ]

andreasplesch commented 2 years ago

Seems like an x_ite error rather than x_ite_dom ?

coderextreme commented 2 years ago

I'm going away from the .mjs file extension as much as I can.

I think this was a server problem.

John

On 11/18/21 08:49, Andreas Plesch wrote:

Seems like an x_ite error rather than x_ite_dom ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andreasplesch/x_ite_dom/issues/36#issuecomment-972934755, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMJ52YLG4K2RIFETOJVVLUMUG6FANCNFSM5IJHPZKQ.