-
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
Error running Yarn due to new node-emoji
entry point
#2119
Comments
Mentioned this in #2072, likely related? (but probably worth tracking separately) |
+1 here, same problem just 20 minutes ago. Node v7.2.0 |
I'm also getting this across at least 3 machines. |
FWIW, I uninstalled yarn, blew away the yarn cache, blew away the npm cache, reinstalled via npm and it seems to be ok now. Possibly some sort of yarn cache issue? |
This is a known issue, I added a cache breaker in #1965 which should be in latest, if it's not then it'll be in the next release. The fix here is to remove the Yarn cache, one of the following commands should work: # OSX
$ rm -rf ~/Library/Caches/Yarn
# Linux
$ rm -rf ~/.cache/yarn
# Windows
$ del %LOCALAPPDATA%/Yarn/cache |
Cool, works for me. Thank you! |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I use
npm i -g yarn
to install and upgrade Yarn. When I ran this command today, then tried to use the Yarn CLI, I received the following error:It looks like the
node-emoji
package restructured its entry point in this commit and then released that in version 1.4.2 earlier today. However, Yarn still seems to be looking forindex.js
.If the current behavior is a bug, please provide the steps to reproduce.
npm i -g yarn
yarn ...
What is the expected behavior?
Yarn should work as normal, e.g.
yarn
oryarn install
should run without anode-emoji
error.Please mention your node.js, yarn and operating system version.
Node v7.2.0
Yarn v0.17.10
macOS Sierra v10.12.1
The text was updated successfully, but these errors were encountered: