-
Notifications
You must be signed in to change notification settings - Fork 7
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
Package subpath './package.json' is not defined by "exports" #10
Comments
Do you have a stack trace for the error? I guess someone is directly requiring package.json, which worked fine in a pre-node-14 world, but is likely to cause this error for packages that declare an |
What I did is adding at the beginning of the file
And when I run
|
This seems to be an issue with rollup-plugin-svelte (see this pr, for example). I'm going to close this here. |
I was using this package in https://github.com/sveltejs/sapper-template/tree/rollup
But it reports error:
The text was updated successfully, but these errors were encountered: