npm i --save-dev jest-cli
|
> [email protected] postinstall /Users/gre/myproject/node_modules/jest-cli
> node postinstall.js
{ [Error: Command failed: /bin/sh -c ./setup.sh
/bin/sh: ./setup.sh: No such file or directory
]
killed: false,
code: 127,
signal: null,
cmd: '/bin/sh -c ./setup.sh' }
Mac OSX
node v4.4.0
npm 2.14.20
for some reason, the setup.sh is not published on npm ? (v 0.10.0)
setup.sh shouldn't be run when installing 0.10.0. I don't understand why it is trying to be run – cc @kentaromiura didn't you make it so it won't be run!? Can we at least make it so that it just silently fails if setup.sh is not part of the copy of Jest? That should fix this too.
We'll fix this but in the meantime you can ignore the error. This is only for development and if npm install gets this far, Jest should be properly be installed :)
I have same problem.
Also seeing this and it's breaking my tests.

This message will be removed from the next release.
Most helpful comment
for some reason, the setup.sh is not published on npm ? (v 0.10.0)