Insert sh scripts
carlosdelfino opened this issue · comments
I use windows 10 with mingw, and I never had any problems with NPM, but in this version he is complaining about the path, so I added sh before the instructions which solved the problem.
Staying like this:
"scripts": {
"start": "sh node_modules/.bin/ws -o",
"test": "sh node_modules/.bin/ws -o -d test",
"lint": "sh node_modules/.bin/eslint src"
},
I did not make a Pull Request, it would be a problem to change it, do I have another better option?
Thanks for the tip.
I will check that it still works for me with this change.
If it does not, I will search for the "official" way to write portable npm scripts.