-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug] yarn 3.2.0 throws error when building via rollup + node 17 + typescript + PnP #4151
Comments
Got a very similar error (when running Next.js in dev mode) on 3.2.0:
|
same here with jest-worker. We also observed the same issue with our TerserPlugin
seems to be related to a parallelization issue ? |
This comment was marked as outdated.
This comment was marked as outdated.
definitely not stale. i am encountering the same problem as described by @eltonio450. it is preventing me from upgrading yarn. |
Node 14.19... anyone figured out a workaround?
|
@davidcalhoun @eltonio450 @tobilen @MrChrisRodriguez Those errors look like #4157, try updating Node.js. |
Duplicate of #1818 |
Self-service
Describe the bug
It seems that if we try to build a project via rollup with node 17, yarn 3.2.0, and typescript, then we get the following error
The error is around this code in .pnp.cjs
To reproduce
3.2.0
yarn install
yarn build
rollup-issues.zip
Environment
Additional context
This seems related to #1818 however I'm not trying to import and use the FS system. Instead .pnp.cjs is crashing. Perhaps some conversion of buffer to a string can be done as a temp workaround.
The text was updated successfully, but these errors were encountered: