-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
yarn doesn't install packages properly, sometimes links to cache #2214
Comments
If I merge |
It turned out I had |
I'm seeing this too. It seems directly related to Looks like this might be a regression of #2104. |
Also seeing this sporatically with our CircleCI builds - with v0.19.1 |
I was able to resolve it by just removing |
Do you want to request a feature or report a bug?
A bug.
What is the current behavior?
yarn
sometimes doesn't install packages correctly:node_modules
folder and that's it.If the current behavior is a bug, please provide the steps to reproduce.
With the following package.json:
Fire
yarn cache clean && yarn
and then./node_modules/.bin/concurrently
. You'll get a message "Error: Cannot find module 'rx'".rx
is a dependency of theconcurrently
package so it's weird that it's not installed. But look into./node_modules/concurrently
- it only containsnode_modules
and none files. Moreover,./node_modules/concurrently/node_modules
only containssupports-color
; norx
here but also not under./node_modules/rx
so it's complaining correctly.Why does the command even start then, since the package folder is almost empty? Let's look into
./node_modules/.bin
:As you can see, some packages are taken from the yarn cache instead of the local location.
What is the expected behavior?
Please mention your node.js, yarn and operating system version.
Node 6.9.2, yarn 0.17.10 (installed via Homebrew), macOS 10.12.1 (16B2555)
The text was updated successfully, but these errors were encountered: