score:248

Accepted answer

npm start runs a script that the app maker built for easy starting of the app npm install installs all the packages in package.json

run npm install first

then run npm start

score:-3

use npm install to install the package. i was having a permission issue with running this, due to the closed-nature of my office vpn. this'll solve permission problems...

sudo npm install

in some cases with permissions, when this fails, it emits no error message. in that case, you may want to adjust user permissions with either chown or chmod. other times, though, when it fails, you'll actually see a legit error message...

npm err! network tunneling socket could not be established, statuscode=400

npm err! network this is most likely not a problem with npm itself

npm err! network and is related to network connectivity.

score:0

this issue can also raise when you change your system password but not the same updated on your .npmrc file that exist on path c:\users\user_name, so update your password there too.

please check on it and run npm install first and then npm start.

score:0

working in grapesjs and get the same error

goto package.json file and check dependencies

  1. removing unused plugins or unused libraries.

  2. npm install

  3. npm start

sometimes not useful install plugins get errors.

score:1

just had the same error message, but when i was running a package.json with:

"scripts": {
    "build": "tsc -p ./src",
}

tsc is the command to run the typescript compiler.

i never had any issues with this project because i had typescript installed as a global module. as this project didn't include typescript as a dev dependency (and expected it to be installed as global), i had the error when testing in another machine (without typescript) and running npm install didn't fix the problem. so i had to include typescript as a dev dependency (npm install typescript --save-dev) to solve the problem.


Related Query

More Query from same tag