-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm ERR! code EUNSUPPORTEDPROTOCOL (v0.82.0) #2319
Comments
I switched to pnpm and the workspace protocol is the recommendation for monorepos, although [it should be replaced eventually according to the doc, it might be due to lerna. That's a pretty big issue, I'll try to release a new version without this issue asap, for now please stick with your current version. |
So it does update the main dependencies with proper versions:
But the peer dependencies still use the
I need to see if lerna mentions anything about this. |
Opened an issue on |
I was able to get around this with the |
Thank you for sharing this @wheresvic. |
@plouc hello, I'm the maintainer of Lerna-Lite I prefer to write you directly here since it's probably better not to promote Lerna forks in Lerna directly, so anyway... Lerna-Lite does support bumping peer deps but under a flag (version#--allow-peer-dependencies-update) since by default peer deps should in theory never be updated unless explicitly wanting to (hence the flag). Also note that I pushed a fix in Lerna-Lite for an issue reported with I also replied to your Lerna issue by mentioning why Lerna does not yet support this feature. Just wanted to provide more info and possible alternative... cheers |
I managed to install this package by selecting the previous version |
@ghiscoding, thank you for reaching out, and for the reply on the lerna issue I opened! I might give it a try. |
Actually, maybe for now I'll move The current approach also comes with some limitations, it means that you need to have all versions strictly aligned, which might be an issue for users who cannot/don't want to upgrade all charts at once. With this new approach, they could, at the expense of a bigger bundle size though.
|
Happened to me as well. We only have one component using nivo so we just downgraded the version and it works
|
Same issue after bumping version from 0.81.0 to 0.82.1 $ node -v
v18.16.0
$ npm -v
9.5.1
$ npm ci --cache .npm --prefer-offline
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:*
npm ERR! A complete log of this run can be found in: |
Moved |
I was using the v0.80.0 version without problems.
But while trying to install version v0.82.0 I got an error.
package.json
The text was updated successfully, but these errors were encountered: