我已经多次尝试它,但仍然得到相同的错误,它继续运行,显示以下警告*
节点
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```发布于 2020-12-27 06:17:18
尝试使用当前稳定节点版本14.15.3安装它。
https://stackoverflow.com/questions/65463242
复制相似问题