-
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
An unexpected error occurred: "ENOENT: no such file or directory, open node_modules/yarn/node_modules/request/index.js' #3075
Comments
i was seeing a similar issue when trying to install react storybook via yarn 0.21.3: The But after upgrading yarn |
It seems to be related to roadrunner, which caches import paths. When I run lib/cli/index.js, the issue does not happen. |
Unfortunately this didn't fix the issue for my team. We are still getting intermittent build failures with a similar message using version 0.24.5 in our CI environment.
|
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
yarn logs error
If the current behavior is a bug, please provide the steps to reproduce.
request
lib is in node_modules/request, not in node_modules/yarn/node_modules/request (this can happen depending on other modules installed)It seems like yarn doesn't follow the usual node module resolution.
What is the expected behavior?
Install should work
Please mention your node.js, yarn and operating system version.
Node 7.7.0
yarn 0.23.1
The text was updated successfully, but these errors were encountered: