haxtheweb / issues

Issue queue for hax, haxcms, elmsln, lrnwebcomponents, wcfactory, websites and more.
Apache License 2.0
10 stars 1 forks source link

deploy and run HAXCMS [bug] User report from HAX daemon #2011

Closed andyux01 closed 1 week ago

andyux01 commented 2 weeks ago

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.https://tik2.pesanweb.id/build/es6/node_modules/@lrnwebcomponents/dynamic-import-registry/dynamic-import-registry.js hax hosting

Location: https://tik2.pesanweb.id/build/es6/node_modules/@lrnwebcomponents/wc-autoload/wc-autoload.js Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 OS: Windows - 8GB RAM - 4 cores Screen: 1920x1080 Window size: 1700x991 Battery: 100% Connection: 4g Bug you experienced: I install from hosting with drag drop hax v. 8 release

btopro commented 2 weeks ago

it appears the build directory is not installed or else it would find those files. What hosting provider is this with and can you verify that all files have been pushed up to the server?

andyux01 commented 2 weeks ago

ok, right build folder

how about this

image

btopro commented 2 weeks ago

403 on a json file. Verify that file is there and then that there's nothing preventing the directory from being read. Possible need to chmod the files in question to access. Did it make the site if you refresh the dashboard?

andyux01 commented 2 weeks ago

after make site/course

image

andyux01 commented 2 weeks ago

what different ddev and from copas haxcmsmaster.zip to hosting? in gitpod can run.

image

btopro commented 2 weeks ago

Not sure. Haven't experienced these issues when deploying on reclaim hosting. My guess is maybe apache config reading the .htaccess file or not all "dot" files being copied over