部署前端报错:code ENOENTnpm ERR! syscall opennpm ERR! path E:\work\RuoYi-Vue\package.jsonnpm ERR! errno
npm ERR! code ENOENTnpm ERR! syscall opennpm ERR! path E:\work\RuoYi-Vue\package.jsonnpm ERR! errno -4058npm ERR! enoent ENOENT: no such file or directory, open 'E:\work\RuoYi-Vue\package.json'npm ERR
·
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path E:\work\RuoYi-Vue\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'E:\work\RuoYi-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\25233\AppData\Roaming\npm-cache\_logs\2021-09-08T11_01_37_625Z-debug.log
这个错误原因在于没有到指定目录下 只要cd就可以了
更多推荐
已为社区贡献4条内容
所有评论(0)