admin管理员组文章数量:1355684
I'm experiencing issues with running npm install
in my React project. I've recently updated Node.js and npm to the latest versions and set up an environment on Windows 11. However, I'm encountering multiple warnings about deprecated packages and two specific errors related to file not found (ENOENT).
Terminal Output:
npm install
npm warn deprecated [email protected]: This module is not supported, and leaks memory...
...
npm error code ENOENT
npm error syscall spawn C:\WINDOWS\system32\
npm error path C:\Users\hello\Desktop\kollege\node_modules\core-js
npm error errno -4058
npm error enoent spawn C:\WINDOWS\system32\ ENOENT
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: C:\Users\hello\AppData\Local\npm-cache\_logs\2025-03-30T13_05_03_973Z-debug-0.log
Env Variables:
enter image description here
Additional Information:
- Node.js version: v23.10.0
- npm version: 10.9.2
- I have tried uninstalling and reinstalling several packages and even edited the PATH environment variable to include necessary directories(as suggested here).
I have followed previous advice for fixing common NPM issues, but I still can't get past these warnings and errors.
Are these warnings related to deprecated packages something I should address, and how can I resolve the ENOENT issue during installation?
本文标签: reactjsNPM Installation Error in React ProjectENOENT and Deprecated WarningsStack Overflow
版权声明:本文标题:reactjs - NPM Installation Error in React Project - ENOENT and Deprecated Warnings - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743987773a2571583.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论