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

Failed to resolve module specifier "auth0-web-extension". Relative references must start with either "/", "./", or "../". #3

Open
vandanapsps opened this issue Sep 27, 2022 · 1 comment

Comments

@vandanapsps
Copy link

Not able to initialize the client, the import statement itself showing the error
Failed to resolve module specifier "auth0-web-extension". Relative references must start with either "/", "./", or "../".
I am importing like this in background.js

import createAuth0Client from 'auth0-web-extension';

and I have added like this in manifest.json

"background": {
"service_worker": "background.js",
"type": "module"
},

@RonanCamus
Copy link

did you install the library first @vandanapsps ?

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