I am getting the below error message:
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:UsersDELLAppDataLocalnpm-cache_logs2023-05-04T06_06_44_419Z-debug-0.log
PS C:UsersDELLDesktopRUNreact-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:UsersDELLAppDataLocalnpm-cache_logs2023-05-04T06_07_20_495Z-debug-0.log
I am using the below npm
command to install the dependencies in my project but they are not getting installed.
npm i @nivo/core @nivo/pie @nivo/bar @nivo/geo
2
Answers
npm install nivo –legacy-peer-deps use this it work even i also got an error but after a long search i got this
Looks like there was an update on 26/04/23 to version 0.81.0.
Using version 0.80.0 worked for me as a temporary workaround:
npm i @nivo/[email protected] @nivo/[email protected] @nivo/[email protected] @nivo/[email protected]