You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm-registry-fetch version shows there are incompatible API changes.
And libnpmpublish use opts as params, not generate & use it inside.
So libnpmpublish just released above change as patch, is this ok?
What am I facing
In a word: I use lerna to publish packages, but failed by authorization.
lerna publishes package chain: @lerna/publish -> @lerna/npm-publish -> libnpmpublish
In fact, yarn installed [email protected] coz ^4.0.0, it make sense.
So I have two version npm-registry-fetch,
@lerna/publish build opts via npm-registry-fetch@^9.0.0
and [email protected] get auth failed from opts via npm-registry-fetch@^10.0.0
Finally, I got error: lerna ERR! E401 Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
I think we should release 4.0.2 to downgrade npm-registry-fetch to 9
then release 5.0.0 to upgrade it to 10
The text was updated successfully, but these errors were encountered:
gaokun
changed the title
[QUESTION] About 4.0.1 upgrade npm-registry-fetch from 9.0.0 to 10.0.0
[BUG] About 4.0.1 upgrade npm-registry-fetch from 9.0.0 to 10.0.0
May 19, 2021
fritzy
changed the title
[BUG] About 4.0.1 upgrade npm-registry-fetch from 9.0.0 to 10.0.0
[BUG](libnpmpublish) About 4.0.1 upgrade npm-registry-fetch from 9.0.0 to 10.0.0
Jan 18, 2022
What / Why
npm-registry-fetch
version shows there are incompatible API changes.And
libnpmpublish
useopts
as params, not generate & use it inside.So
libnpmpublish
just released above change aspatch
, is this ok?What am I facing
In a word: I use
lerna
to publish packages, but failed by authorization.Root Cause
Here are dependencies:
lerna
publishes package chain:@lerna/publish
->@lerna/npm-publish
->libnpmpublish
In fact, yarn installed
[email protected]
coz^4.0.0
, it make sense.So I have two version
npm-registry-fetch
,@lerna/publish
buildopts
vianpm-registry-fetch@^9.0.0
and
[email protected]
getauth
failed fromopts
vianpm-registry-fetch@^10.0.0
Finally, I got error:
lerna ERR! E401 Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"
Workaround
add this to
package.json
Who
I think we should release 4.0.2 to downgrade
npm-registry-fetch
to 9then release 5.0.0 to upgrade it to 10
The text was updated successfully, but these errors were encountered: