Closed
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
package.json
:
"scripts": {
"wat": "echo wat",
// ...
My project has a bunch of stuff as npm
scripts in package.json
. Previously, with the old package name, (yarnpkg), they worked fine:
> npm install -g yarnpkg
> yarn --version
0.15.1
> yarn run wat
yarn run v0.15.1
$ echo wat
wat
✨ Done in 0.08s.
However since obeying the nice deprecation message and installing the yarn
package instead, yarn run
fails on everything:
> npm uninstall -g yarnpkg
> npm cache clean
> npm install -g yarn
> yarn --version
0.15.1
> yarn run wat
yarn run v0.15.1
$ "echo wat"
sh: echo wat: command not found
error Command failed with exit code 127.
info Visit http://yarnpkg.com/en/docs/cli/run for documentation about this command.
If the current behavior is a bug, please provide the steps to reproduce.
See above.
What is the expected behavior?
I would expect yarn 0.15.1 from npm install -g yarn
to behave the same as yarn 0.15.1 from npm install -g yarnpkg
Please mention your node.js, yarn and operating system version.
Mac OS X El Capitan 10.11.5
Node 6.3.0
Yarn 0.15.1
Metadata
Metadata
Assignees
Labels
No labels