-
-
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?]: Using imports
feature causes Yarn PnP to crash
#5187
Labels
bug
Something isn't working
Comments
wojtekmaj
changed the title
[Bug?]: Dependencies defined in
[Bug?]: Using Jan 11, 2023
imports
causes Yarn PnP to crash imports
feature causes Yarn PnP to crash
Should be solved by #4862, please try the RCs |
@arcanis Nope :(
|
You're running into nodejs/corepack#202, you'll need to update Corepack.
It was backported to v3. |
You are correct! I was hitting the issue with Corepack 0.14.2 + Yarn 3.3.1/4.0.0-rc.35, but NOT with Corepack 0.15.3 + Yarn 3.3.1/4.0.0-rc.35. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Self-service
Describe the bug
When running
chalk@^5.2.0
in Yarn PnP environment (in my case, indirectly, by runningyarn dlx serve
instead ofnpx serve
, the following error is thrown:This is directly related to chalk/chalk@04fdbd6 in which dependencies were bundled and
imports
feature was leveraged.To reproduce
Environment
Additional context
This was also raised as chalk/chalk#583.
The text was updated successfully, but these errors were encountered: