-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Incompatible with Yarn 2 #993
Comments
Having the same problem, thanks for opening an issue. |
yarnpkg/berry#638 Yarn 2 does not support ESM in packages. We're not going to ship CJS just for the sake of Yarn 2. I'd suggest using a different package manager and watching that issue. In the meantime, I am adding the 'documentation' label to this until we note somewhere in the docs or in the starter template that Yarn 1 is fine but Yarn 2 is not. |
FWIW, that's yarn 2+ with PNP mode (which admittedly is their default). |
I've updated the FAQ page, so will close this |
Describe the bug
Yarn 2.4.1 fails to run Svelte Kit's scripts.
Logs
To Reproduce
https://github.com/araujogui/svelte-kit-yarn
Stacktraces
Information about your SvelteKit Installation:
Diagnostics
System: OS: Linux 5.11 Arch Linux CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz Memory: 365.53 MB / 7.65 GB Container: Yes Shell: 3.2.1 - /usr/bin/fish Binaries: Node: 15.14.0 - /usr/bin/node Yarn: 2.4.1 - /usr/bin/yarn npm: 7.9.0 - /usr/bin/npm Browsers: Brave Browser: 89.1.22.71Severity
It entirely blocks my usage of SvelteKit.
Additional context
There's no issue when NPM or PNPM.
The text was updated successfully, but these errors were encountered: