Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 404. All modules failed to load on vanilla HTML and JS #88

Open
TheConceptBoy opened this issue Dec 7, 2021 · 3 comments
Open

Comments

@TheConceptBoy
Copy link

Good day.
I'm using this extention in a very basic case. just HTML and JS. I get the following errors in console:

simpleParallax.js:5 GET https://depotof.universalideas.ca/scripts/tools/parallax/instances/parallax net::ERR_ABORTED 404
simpleParallax.js:3 GET https://depotof.universalideas.ca/scripts/tools/parallax/helpers/convertToArray net::ERR_ABORTED 404
simpleParallax.js:1 GET https://depotof.universalideas.ca/scripts/tools/parallax/helpers/isSupportedBrowser net::ERR_ABORTED 404
simpleParallax.js:2 GET https://depotof.universalideas.ca/scripts/tools/parallax/helpers/viewport net::ERR_ABORTED 404

I have simply dropped the files for simpleParrallax.js into the web folder. All the instructions point to packet installation for various platforms but mention nothing about good old drag and drop users.

@TheConceptBoy
Copy link
Author

TheConceptBoy commented Dec 7, 2021

I had to add .js to all the import messages like this:
import { viewport } from '../helpers/viewport.js';

but now, albeit it does not complain, I still get the error:
index.js:7 Uncaught ReferenceError: simpleParallax is not defined

@TheConceptBoy
Copy link
Author

Gonna have to use the publicly hosted lib for now.

@geosigno
Copy link
Owner

geosigno commented Sep 2, 2022

Could you please share a codepen or a repo so I can reproduce and troubleshoot?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants