I installed Node.js to study Angular 2, I downloaded it from the node site, but after installing it, when I type npm start
in the cmd of my PC, I get the error below, I am giving the command in the file folder package.json
C:\Program Files\nodejs\node_modules\npm
Does anyone have any idea how to solve it? Please! :)
C:\Users\Sarah Santana>node -v
v6.11.5
C:\Users\Sarah Santana>cd\Program Files\nodejs\node_modules\npm
C:\Program Files\nodejs\node_modules\npm>npm start
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! path C:\Program Files\nodejs\node_modules\npm\npm-debug.log.3610650318
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall open
npm ERR! Error: EPERM: operation not permitted, open 'C:\Program Files\nodejs\node_modules\npm\npm-debug.log.3610650318'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, open 'C:\Program Files\nodejs\node_modules\npm\npm-debug.log.3610650318'
npm ERR! at Error (native)
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\Program Files\nodejs\node_modules\npm\npm-debug.log.3610650318' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Program Files\nodejs\node_modules\npm\npm-debug.log