Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting error npm ERR! code EUNSUPPORTEDPROTOCOL while running npm install

While installing npm install am getting below error. Following are my node version.

OS : MacOS Big Sur V11.6.2

Macs-MacBook-Pro-3:slides mac$ node -v
v16.13.1
Macs-MacBook-Pro-3:slides mac$ npm -v
8.3.0
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!     /Users/mac/.npm/_logs/2022-01-01T02_28_04_430Z-debug-0.log

Any help here ?

like image 408
aviboy2006 Avatar asked Nov 16 '25 17:11

aviboy2006


1 Answers

You can resolve this error instead of mentioning as workspace:* replace it with file:*. It helps me to resolve this issue.

like image 117
Subbusainath Rengasamy Avatar answered Nov 19 '25 08:11

Subbusainath Rengasamy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!