Skip to content
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

nx release version(registry) fails on first version. #20672

Closed
1 of 4 tasks
eladhaim opened this issue Dec 8, 2023 · 2 comments
Closed
1 of 4 tasks

nx release version(registry) fails on first version. #20672

eladhaim opened this issue Dec 8, 2023 · 2 comments
Assignees
Labels

Comments

@eladhaim
Copy link

eladhaim commented Dec 8, 2023

Current Behavior

When i create a new package and use the nx release version command using the registry to get the latest version, if the package doesn't exists(first version) the publish fails with
npm ERR! 404 Not Found - GET package_url - no such package available

Expected Behavior

Have the option to "force" publish the package even if it doesn't exists yet.

GitHub Repo

No response

Steps to Reproduce

  1. create a new package
  2. use the default settings to release
  3. nx release version $version

Nx Report

Node   : 18.16.1
   OS     : darwin-arm64
   pnpm   : 8.7.4
   
   nx (global)        : 17.1.3
   nx                 : 17.0.3
   @nx/js             : 17.0.3
   @nx/jest           : 17.0.3
   @nx/eslint         : 17.0.3
   @nx/workspace      : 17.0.3
   @nx/devkit         : 17.0.3
   @nx/eslint-plugin  : 17.0.3
   @nx/nest           : 17.0.3
   @nx/node           : 17.0.3
   @nx/plugin         : 17.0.3
   @nx/webpack        : 17.0.3
   typescript         : 5.1.6
   ---------------------------------------
   Community plugins:
   ---------------------------------------
   Local workspace plugins:

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder AgentEnder added the scope: core core nx functionality label Dec 14, 2023
@JamesHenry
Copy link
Collaborator

Duplicate of #19971

@JamesHenry JamesHenry marked this as a duplicate of #19971 Dec 14, 2023
@JamesHenry JamesHenry closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2023
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants