You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
To Reproduce
When I hit "npm run dev", I get the "Uncaught SyntaxError: Cannot use import statement outside a module" error and the scripts do not load.
Additional context
I tried adding a "type": "module" as a top-level attribute to the package.json file but it still doesn't work.
Would really appreciate any help with this issue, thanks in advance !
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I would like to integrate Duet Date Picker to my project. I am using parcel v2 as a bundler.
Describe the bug
I get this error regarding two scripts that I'm trying to load from my index.html file:
The problem only occurs when I'm using Parcel to bundle my code.
package.json file:
To Reproduce
When I hit "npm run dev", I get the "Uncaught SyntaxError: Cannot use import statement outside a module" error and the scripts do not load.
Additional context
I tried adding a "type": "module" as a top-level attribute to the package.json file but it still doesn't work.
Would really appreciate any help with this issue, thanks in advance !
The text was updated successfully, but these errors were encountered: