-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 local-registry fails with an exception: 'registry' is not a valid npm version #27135
Closed
1 of 4 tasks
Comments
I identified the change happened in this feature: |
ErickRodrCodes
pushed a commit
to ErickRodrCodes/nx-plugins
that referenced
this issue
Jul 26, 2024
updated to 19.5. it might break local-registry BREAKING CHANGE: local-registry is broken and it is adviced to fix it via debugging. once fixed, devs can be able to use verdaccio properly. re nrwl/nx#27135
4 tasks
FrozenPandaz
pushed a commit
that referenced
this issue
Aug 26, 2024
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #27135 (cherry picked from commit 00710b9)
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Behavior
after migrating from 19.3 to 19.5, I noted I can't run anymore local-registry.
In a windows machine, tried powershell and CMD both on the same outcome.
I pinpointed the error here:
which points to the repo here:
nx/packages/js/src/executors/verdaccio/verdaccio.impl.ts
Line 161 in 09c0b3d
this could happen as
npm config set 'registry'
might not be compatible in certain instances. The keywordregistry
might cause an error on windows computers if it has single quotes around it.Expected Behavior
The issue can easily be solved my running a conditional command that allows the execution of the right option.
search:
replace with
as a result it won't throw the respective error.
GitHub Repo
No response
Steps to Reproduce
Verdaccio will fail to execute with the error
'registry'
is not a valid npm optionNx Report
Failure Logs
Package Manager Version
10.8.2
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: