Whenever I try to
yarn I get:
error An unexpected error occurred: "ENOENT: no such file or directory, open '/Users/Adam/Library/Caches/Yarn/v1/npm-gulp-4.0.0-alpha.2-311322480cff736e0f423389352d202c97f530e0/.yarn-metadata.json'".
I need to remove the
yarn.lock file for it to work. Then after install, running yarn again fails with the same error.
Not sure why this started happening. This is with yarn 0.28.4 on OS X. I can’t upgrade to 1.0.0 due to it failing completely on Heroku.
Please let me know what I can do to help you debug this. The package it’s failing on is