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

Vite requires packages to export package.json #62

Closed
mcmxcdev opened this issue Mar 22, 2022 · 1 comment
Closed

Vite requires packages to export package.json #62

mcmxcdev opened this issue Mar 22, 2022 · 1 comment

Comments

@mcmxcdev
Copy link

This is the warning created by Vite:

[vite-plugin-svelte] The following packages did not export their `package.json` file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
- p-limit
- yocto-queue
@sindresorhus
Copy link
Owner

That is a problem with Vite, not this package. That warning is completely wrong. It is not expected that packages export their package.json file. I'm sorry that the Vite project is wasting your time. You should open an issue there instead: https://github.com/vitejs/vite

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