【发布时间】:2021-04-04 09:02:22
【问题描述】:
我试了很多次还是一样的错误,它继续运行显示以下警告*
节点
v15.5.0
npm
6.14.10
npm ERR! path D:\PORTFOLIO\myportfolio\node_modules\.bin\json5.cmd
npm ERR! Refusing to delete D:\PORTFOLIO\myportfolio\node_modules\.bin\json5.cmd: ..\@babel\core\node_modules\json5\lib\cli.js symlink target is not controlled by npm D:\PORTFOLIO\myportfolio\node_modules\json5
npm ERR! File exists: D:\PORTFOLIO\myportfolio\node_modules\.bin\json5.cmd
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\shradha\AppData\Roaming\npm-cache\_logs\2020-12-27T06_20_35_403Z-debug.log```
【问题讨论】:
-
我没有看到任何错误只是警告。
-
@yudhiesh ya,但这些警告并没有像它继续显示的那样结束
-
这只是一个警告,因为 Windows 上的
fsevents。 -
@Rohit 我收到上述错误“已编辑”
-
转到您的
package.json并检查react-router-dom是否实际下载成功。
标签: node.js reactjs npm visual-studio-code react-router