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 when starting dev server #6

Open
veonline opened this issue Apr 14, 2023 · 3 comments
Open

error when starting dev server #6

veonline opened this issue Apr 14, 2023 · 3 comments

Comments

@veonline
Copy link

as the title, detailed error below

[ERROR] Failed to resolve entry for package "vite-plugin-jspm". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in "vite-plugin-jspm" package [plugin externalize-deps]
vite version 4.2.1
vite-plugin-jspm version 0.2.0
node version 16.20.0
npm version 9.2.0

as side note, i see version 0.3.0 of vite-plugin-jspm in the repo, but it's not available in npm registry. is that ok?

@JayaKrishnaNamburu
Copy link
Member

Hello @veonline thanks for reporting. Looks like import-maps are not appending in dev mode to resolve. I will be taking a look. Regarding the

i see version 0.3.0 of vite-plugin-jspm in the repo, but it's not available in npm registry.

I am going to publish it, we kept it o hold. But, it's good to go now 👍

@JayaKrishnaNamburu
Copy link
Member

The latest version is on npm now. Will look into the. dev mode issue

@DNA
Copy link

DNA commented May 20, 2023

I had the same problem, but in the end the problem is that my vite config was with the .js extension. Changing it to .mjs solved the problem :)

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

3 participants