npm run start 出错
来源:2-3 工程目录文件简介
李天尊
2018-07-10
guoxiaohongs-MacBook-Air:muke guoxiaohong$ npm run start
npm ERR! path /Users/guoxiaohong/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/guoxiaohong/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/guoxiaohong/.npm/_logs/2018-07-10T09_06_42_632Z-debug.log
guoxiaohongs-MacBook-Air:muke guoxiaohong$
终端运行npm run start 出现了这个问题
写回答
2回答
-
Dell
2018-07-10
安装过依赖包么
012018-07-11 -
zimingbj
2018-07-10
你要先cd命令切换到你的项目目录下 再执行npm run start
012018-07-10
相似问题