With a package.json file like:
{
"scripts": {
"hello": "touch hello && echo hello"
}
}
Running npm run hello
creates no file and outputs nothing to stdout. I was expecting both to happen.
npm -v # 4.4.0
ignore-scripts=true
was set in .npmrc
https://github.com/npm/npm/issues/10675
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With