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

运行npm run dev命令出现这种错误不知道是什么原因?

运行npm run dev命令出现这种错误不知道是什么原因?

java界小菜鸟 2018-07-16 16:03:31
0 info it worked if it ends with ok1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'dev' ]2 info using npm@3.10.103 info using node@v6.14.34 verbose stack Error: ENOENT: no such file or directory, open '/home/fanchi/package.json'4 verbose stack     at Error (native)5 verbose cwd /home/fanchi6 error Linux 4.13.0-36-generic7 error argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"8 error node v6.14.39 error npm  v3.10.1010 error path /home/fanchi/package.json11 error code ENOENT12 error errno -213 error syscall open14 error enoent ENOENT: no such file or directory, open '/home/fanchi/package.json'15 error enoent ENOENT: no such file or directory, open '/home/fanchi/package.json'15 error enoent This is most likely not a problem with npm itself15 error enoent and is related to npm not being able to find a file.16 verbose exit [ -2, true ]
查看完整描述

目前暂无任何回答

  • 0 回答
  • 0 关注
  • 4211 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信