简体   繁体   中英

Installing Node.js package (and npm) on Windows 10 I was could'n find out how install exactly

when i start 'npm start' its giving below error. And localhost:8082 is not working. I tried localhost:8080 but nothing working.

 $ npm start
 npm ERR! Windows_NT 6.1.7600
 npm ERR! argv “C:\\Program Files\\nodejs\\node.exe” “C:\\Program  Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js” “start”
npm ERR! node v4.4.7
 npm ERR! npm v2.15.8
 npm ERR! path D:\myangular\package.json
 npm ERR! code ENOENT
 npm ERR! errno -4058
 npm ERR! syscall open

 npm ERR! enoent ENOENT: no such file or directory,   open‘D:\myangular\package.json’
 npm ERR! enoent This is most likely not a problem with npm itself
 npm ERR! enoent and is related to npm not being able to find a file.
 npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! D:\myangular\npm-debug.log

Please be ensure to file "D:\\myangular\\package.json" is exist. Another way, try to delete the node_modules folder and run command: npm install . And then re-run your command: npm start .

Please run npm install command first. Than you run node your main file.js

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM