Vue报错找不到package.json
C:\Users\iu\Desktop\StdentGrade>npm run devnpm ERR! path C:\Users\iu\Desktop\StdentGrade\package.jsonnpm ERR! code ENOENTnpm ERR! errno -4058npm ERR! syscall opennpm ERR! enoent ENOENT: no suc...
C:\Users\iu\Desktop\StdentGrade>npm run dev
npm ERR! path C:\Users\iu\Desktop\StdentGrade\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:\Users\iu\Desktop\StdentGrade\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\iu\AppData\Roaming\npm-cache_logs\2019-05-21T11_07_55_963Z-debug.log
C:\Users\iu\Desktop\StdentGrade>cnpm run dev
npm ERR! path C:\Users\iu\Desktop\StdentGrade\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:\Users\iu\Desktop\StdentGrade\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\iu\AppData\Roaming\npm-cache_logs\2019-05-21T11_10_06_595Z-debug.log
C:\Users\iu\Desktop\StdentGrade>cd /StudentGrade
系统找不到指定的路径。
C:\Users\iu\Desktop\StdentGrade>cd /StudentGrade
系统找不到指定的路径。
C:\Users\iu\Desktop\StdentGrade>npm run dev
npm ERR! path C:\Users\iu\Desktop\StdentGrade\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:\Users\iu\Desktop\StdentGrade\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\iu\AppData\Roaming\npm-cache_logs\2019-05-21T11_11_52_529Z-debug.log
C:\Users\iu\Desktop\StdentGrade>cd …
C:\Users\iu\Desktop>npm run dev
npm ERR! path C:\Users\iu\Desktop\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:\Users\iu\Desktop\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\iu\AppData\Roaming\npm-cache_logs\2019-05-21T11_12_01_011Z-debug.log
没在当前文件路径下, cd一下 当前的路径就好了
更多推荐
所有评论(0)