You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fetches lodash and stores it in .yarn/cache/lodash-npm-4.17.21-*.zip and adds it to dependencies in package.json and to yarn.lock, but doesn't create node_modules.
Running yarn install succeeds through all steps and nothing is changed in the directory structure.
Running yarn info lodash shows all info, as if it's installed.
Running the same with Yarn 1.22.10 works fine and creates node_modules after adding lodash.
Screenshots
N/A
Environment if relevant (please complete the following information):
I see. I must say, running everything through the package manager, and with explicit opt-out telemetry settings, looks a bit more radical than I expected. Thanks for pointing it out, though. Much appreciated.
Describe the bug
When adding a package, Yarn
2.4.1
goes fetches and caches requested packages, but there's nonode_modules
created after it reports success.To Reproduce
Set up Yarn:
package.json
:Add
lodash
:This fetches
lodash
and stores it in.yarn/cache/lodash-npm-4.17.21-*.zip
and adds it todependencies
inpackage.json
and toyarn.lock
, but doesn't createnode_modules
.Running
yarn install
succeeds through all steps and nothing is changed in the directory structure.Running
yarn info lodash
shows all info, as if it's installed.Running the same with Yarn
1.22.10
works fine and createsnode_modules
after addinglodash
.Screenshots
N/A
Environment if relevant (please complete the following information):
14.15.4
, CentOS 8:10.24.0
1.22.10
, local2.4.1
Additional context
This is similar to the issue described in this old thread.
yarnpkg/yarn#2240
The text was updated successfully, but these errors were encountered: