Yarn: how to publish package to nexus

Created on 8 Mar 2017  Â·  2Comments  Â·  Source: yarnpkg/yarn

yarn version:0.22
when I publish a package to nexus
then:
yarn publish v0.22.0
[1/4] Bumping version...
info Current version: 1.0.0
question New version:
[2/4] Logging in...
[3/4] Publishing...
error Couldn't publish package.
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.

triaged

Most helpful comment

Running into the same thing but with Artifactory.

> Publishing module
yarn publish v0.21.3
[1/4] Bumping version...
info Current version: 2.0.0-yarn.12
info New version: 2.0.0-yarn.13
[2/4] Logging in...
[3/4] Publishing...
error Couldn't publish package.
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.

2717 Seems to be the same issue.

Similar to that other issue, some of the package contents are actually published but not all.

Is there a debug flag we can enable to get more information on why this is failing?

All 2 comments

Running into the same thing but with Artifactory.

> Publishing module
yarn publish v0.21.3
[1/4] Bumping version...
info Current version: 2.0.0-yarn.12
info New version: 2.0.0-yarn.13
[2/4] Logging in...
[3/4] Publishing...
error Couldn't publish package.
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.

2717 Seems to be the same issue.

Similar to that other issue, some of the package contents are actually published but not all.

Is there a debug flag we can enable to get more information on why this is failing?

Duplicate of #2717 so closing.

@llwt

Is there a debug flag we can enable to get more information on why this is failing?

--verbose may be?

Was this page helpful?
0 / 5 - 0 ratings