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

Uncaught SyntaxError: The requested module ( path to js.cookie.js ) does not provide an export named 'default' #426

Closed
ahmadalzoubi13579 opened this issue Apr 5, 2018 · 3 comments

Comments

@ahmadalzoubi13579
Copy link

hey geys :
when i am trying to import the js.cookie.js file in order to use set( ) & get( ) functions , i get this error message said :
1

my HTML code :

2

my JS code :

3

Any Help :)

@FagnerMartinsBrack
Copy link
Member

Probably related to #423 and #407

@ahmadalzoubi13579
Copy link
Author

@FagnerMartinsBrack thank you
import * as Cookies from './js-cookie-master/src/js.cookie.js';
works for me

@SaluiMP
Copy link

SaluiMP commented Nov 2, 2019

SyntaxError: The requested module './pokemon.js' does not provide an export named 'example'
at /

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

No branches or pull requests

3 participants