C:\Users\Administrator>npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Administrator/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Administrator\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! D:\nodejs\node_cache\_logs\2024-09-29T15_50_37_869Z-debug-0.log
这句话的意思大概是 没有 package.json 这样的文件或目录,打开’D:\Node\package.json’,
解决办法:
- 先执行 npm init -f 再安装npm install
-
npm WARN using --force Recommended protections disabled. Wrote to C:\Users\Administrator\package.json: { "name": "administrator", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC" }
阅读全文
免责声明
该资源仅供学习和研究传播,大家请在下载后24小时内删除,一切关于该资源商业行为和违法行为与兄弟娱乐(xdyl.club)无关。
请勿将该软件程序进行商业交易、转载、违法运营等行为,该软件只为研究、学习所提供
该软件程序使用后发生的一切问题与本站无关。 若本程序源码侵犯了您的权益,请及时联系我们予以删除!
本软件程序仅供研究学习使用,切勿商用以及违法使用!!!
原文链接:https://xdyl.club/130,转载请注明出处~~~
该资源仅供学习和研究传播,大家请在下载后24小时内删除,一切关于该资源商业行为和违法行为与兄弟娱乐(xdyl.club)无关。
请勿将该软件程序进行商业交易、转载、违法运营等行为,该软件只为研究、学习所提供
该软件程序使用后发生的一切问题与本站无关。 若本程序源码侵犯了您的权益,请及时联系我们予以删除!
本软件程序仅供研究学习使用,切勿商用以及违法使用!!!
原文链接:https://xdyl.club/130,转载请注明出处~~~
评论0