npm run dev 出错了

运行npm run dev 出现的错误

npm ERR! path E:\obj\vue\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'E:\obj\vue\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!     C:\Users\3d-1\AppData\Roaming\npm-cache\_logs\2018-12-24T07_29_42_788Z-debug.log

我跟着路径查找下去发现是文件目录下没有找到相关的文件,修改后跑通了。

猜你喜欢

转载自blog.csdn.net/qq_27628085/article/details/85234251