You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the current behavior is a bug, please provide the steps to reproduce.
After installing eslint globally, there is no eslint executable
$ yarn global add eslint
yarn global v1.5.1
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
success Installed "eslint@4.19.0" with binaries:
- eslint
✨ Done in 7.37s.
$ which eslint
$ ls ~/.yarn/bin/eslint
ls: /Users/hanxue/.yarn/bin/eslint: No such file or directory
Installing eslint globally with npm works though
$ npm i -g eslint
/usr/local/bin/eslint -> /usr/local/lib/node_modules/eslint/bin/eslint.js
+ eslint@4.19.0
added 139 packages in 24.786s
$ which eslint
/usr/local/bin/eslint
What is the expected behavior?
There should be a link at ~/.yarn/bin/eslint
Please mention your node.js, yarn and operating system version.
node: v9.8.0
yarn: 1.5.1
macOS: 10.10.5
The text was updated successfully, but these errors were encountered:
If the current behavior is a bug, please provide the steps to reproduce.
After installing
eslint
globally, there is no eslint executableInstalling
eslint
globally withnpm
works thoughWhat is the expected behavior?
There should be a link at
~/.yarn/bin/eslint
Please mention your node.js, yarn and operating system version.
node: v9.8.0
yarn: 1.5.1
macOS: 10.10.5
The text was updated successfully, but these errors were encountered: