我收到以下错误消息:
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:*
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\DELL\AppData\Local\npm-cache\_logs\2023-05-04T06_06_44_419Z-debug-0.log
PS C:\Users\DELL\Desktop\RUN\react-admin> npm i @nivo/core
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:*
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\DELL\AppData\Local\npm-cache\_logs\2023-05-04T06_07_20_495Z-debug-0.log
我正在使用下面的npm
命令在我的项目中安装依赖项,但它们没有被安装。
npm i @nivo/core @nivo/pie @nivo/bar @nivo/geo
2条答案
按热度按时间c3frrgcw1#
npm install nivo --legacy-peer-deps use this it work even I also got an error but after a long search I got this
3pvhb19x2#
看起来0.81.0版本有an update on 26/04/23。
使用0.80.0版本对我来说是一个临时的解决方案:
npm i @nivo/core@0.80.0 @nivo/pie@0.80.0 @nivo/bar@0.80.0 @nivo/geo@0.80.0