Skip to content
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

ENOENT: no such file or directory error when upgrading Yarn. #1960

Closed
skevy opened this issue Nov 20, 2016 · 2 comments
Closed

ENOENT: no such file or directory error when upgrading Yarn. #1960

skevy opened this issue Nov 20, 2016 · 2 comments
Labels

Comments

@skevy
Copy link
Contributor

skevy commented Nov 20, 2016

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
When upgrading Yarn from 0.17.0 to 0.17.6, I get this error upon running Yarn:

Error: ENOENT: no such file or directory, open '/Users/adam/.nvm/versions/node/v6.9.1/lib/node_modules/yarn/node_modules/bl/node_modules/readable-stream/duple
x.js'

If the current behavior is a bug, please provide the steps to reproduce.

Upgrade Yarn, run any yarn command.

What is the expected behavior?

It should not error.

Please mention your node.js, yarn and operating system version.

Node 6.9.1
Yarn 0.17.6
macOS 10.12.1

@skevy
Copy link
Contributor Author

skevy commented Nov 20, 2016

After further investigation, I was able to determine this had to do with the roadrunner package (https://github.com/kittens/roadrunner).

It seems that roadrunner.json had an out of date package cache. Upon deleting the roadrunner.json file, Yarn began working as expected.

I think this should stay open, however, as this broke on all of my coworkers machines upon our upgrade of Yarn, + it also broke on our CI machines.

@bestander
Copy link
Member

I think this is a related problem #1854

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@skevy @wyze @bestander and others