In my package.json file I have the following scripts:
\"scripts\": {
\"start\": \"npm run watch:all\",
\"test\": \"echo \\\"Error: no test specified\
There is a problem with Parallelshell that has to be fixed manually;
go to the file:
node_modules/parallelshell/index.js:105
Then change this line:
cwd: process.versions.node < '8.0.0' ? process.cwd : process.cwd(),
To this:
cwd: parseInt(process.versions.node) < 8 ? process.cwd : process.cwd(),
It's done!
It works for me as I have facing similar issues parallelshell 3.2.2 doesnot cope with my node so I have to downgrade it
cwd:
parseInt(process.versions.node) < 8 ? process.cwd : process.cwd()
If you still face problems after doing this, you have to downgrade the version of paralleshell using this line:
sudo npm install --save-dev parallelshell@3.0.1
It worked for me.