为了账号安全,请及时绑定邮箱和手机立即绑定

$npm start

如果用npm start就报错

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\B\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v7.6.0
npm ERR! npm  v4.3.0
npm ERR! path C:\WINDOWS\system32\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'
npm ERR! enoent ENOENT: no such file or directory, open 'C:\WINDOWS\system32\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!     C:\Users\B\AppData\Roaming\npm-cache\_logs\2017-03-13T06_32_17_024Z-debug.log

如果是$npm start就说'$npm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

正在回答

2 回答

很奇怪,项目下的package.json文件丢失么?

0 回复 有任何疑惑可以回复我~

不是这个原因,我已经弄起来了,谢谢

0 回复 有任何疑惑可以回复我~
#1

慕用3104214

我好像也是这样,请问你是怎么解决的呢?
2017-05-10 回复 有任何疑惑可以回复我~
#2

初衷blibli

怎么解决的呢 能不能告知一下
2018-07-28 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Angular2一小时快速入门
  • 参与学习       56881    人
  • 解答问题       79    个

Angular2一小时快速入门教程,帮助大家快速上手Angular2开发

进入课程
意见反馈 帮助中心 APP下载
官方微信