NPM安装在Windows 10中显示多个错误

oalqel3c  于 2023-08-06  发布在  Windows
关注(0)|答案(1)|浏览(110)
PS C:\Users\debro\Documents\Razor> npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\debro\Documents\Razor/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\debro\Documents\Razor\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\debro\AppData\Local\npm-cache\_logs\2023-07-07T07_14_27_750Z-debug-0.log
PS C:\Users\debro\Documents\Razor>

字符串
安装Node运行npm --版本,它显示结果,并在系统环境变量中添加了npm和node
x1c 0d1x的数据
但仍然无法运行npm install

nzkunb0c

nzkunb0c1#

package.json文件在哪里?

no such file or directory, open 'C:\Users\debro\Documents\Razor\package.json'

字符串

相关问题