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 v4 doesn't download dependencies #6198
Comments
Just as a side note: Yarn 1.22.22 and npm 10.5.0 both download all deps. I guess I can expect the same from Yarn v4 |
Since v2, The default installation strategy has been PnP which does not generate a |
I think you chosen a wrong name for your PnP feature. I skipped that docs sectoin cause I was not interested in reading about plugins. But apparently the PnP is where I found this sentence:
You must put that on the main page, https://yarnpkg.com/, right there, saying "We don't create node_modules folder anymore, read here why". |
Self-service
Describe the bug
I created a sample small project to play work workspaces. But it appeared Yarn doesn't download libraries (dependencies) despite showing successful output.
To reproduce
Expected - there is a src/node_modules folder and there is a src/pack_a/node_modules folder to contain specific version of rtrim (1.0.1)
Actual: there is no any node_modules folder created ever.
Here is the console output on my run:
sample.tar.gz
Environment
System: OS: macOS 14.4.1 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Binaries: Node: 20.12.0 - /private/var/folders/kq/3rgvgg8n1wz8t1_mlsd_0psm0000gp/T/xfs-1987691f/node Yarn: 4.1.1 - /private/var/folders/kq/3rgvgg8n1wz8t1_mlsd_0psm0000gp/T/xfs-1987691f/yarn npm: 10.5.0 - ~/.nvm/versions/node/v20.12.0/bin/npm
Additional context
No response
The text was updated successfully, but these errors were encountered: