Resolve module specifier console error
I've been trying to solve this console error and can't quite fix it. Any help would be appreciated. I think it's causing my Alpine scripts to not work
Uncaught TypeError: Failed to resolve module specifier "alpinejs". Relative references must start with either "/", "./", or "../".
Hi there!
Are you using Wave and if so which theme are you using?
If you are using Wave, you might need to cd
into the theme's directory and run npm install
and then npm run production
in order to install the static assets.
If you are not using Wave, can you share your code snippet here that is causing the issue?
Best,
Bobby
Hey! No worries! Happy to hear that it's working!