[英]Webpack error when i install react.(when i try to use “npm start” to start a sever)
[英]I can not do "npm install" to my project in React. When I running "npm install" i get error massage
当我运行“npm install”时,我收到此错误消息:
found 15369 vulnerabilities (15366 low, 3 high)
run `npm audit fix` to fix them, or `npm audit` for details
我尝试运行“npm audit”,但收到此错误消息:
found 15369 vulnerabilities (15366 low, 3 high) in 2153 scanned packages
run `npm audit fix` to fix 15366 of them.
3 vulnerabilities require manual review. See the full report for details.
我尝试运行“npm audit fix --force”,但收到此错误消息:
fixed 15366 of 15369 vulnerabilities in 2153 scanned packages
3 vulnerabilities required manual review and could not be updated
我尝试删除我的 package-lock.json 并删除 node_modules 文件夹,然后再次尝试安装 npm。 我设置了这个警告按摩:
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
也许你会知道问题出在哪里?
这不是错误。 这是一条警告信息。 应该不会影响你的项目运行大部分情况。
也许您对 inte.net 连接有问题或对 inte.net 数据进行了一些过滤?
这是一条警告信息。 不用担心。
npm start
你的项目将在localhost
上启动
嗨,我遇到了类似的问题,这对我有用。
package-lock.json
。%USERPROFILE%\Application Data\npm\node_modules
。 尝试再次运行npm i
如果该解决方案不适用于 npm 并使用 yarn 并至少暂时安装软件包。
检查 package.json 和 package-lock.json 中包的依赖项。 有时这可能来自于同一节点package的不同版本。您可以先尝试npm更新以尝试尽可能自动更新。 如果这不起作用,请查找冲突的版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.