首页 > 技术文章 > npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\用户\Desktop\商城app\package.json'

ddp-yth 2021-04-21 13:18 原文

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\用户\Desktop\商城app\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\用户\Desktop\商城app\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! C:\Users\用户\AppData\Roaming\npm-cache\_logs\2021-04-21T05_10_38_506Z-debug.log

 

 哈哈哈,笑死遇到这样的问题,想都没有想就直接去了百度,搜了一波。

结果好意外,运行的的路径都没有指向要运行的项目,哈哈,直接去了项目的外层文件,就肯定找不到要运行的package.json的文件呀

推荐阅读