Closed ErickRodrCodes closed 2 months ago
I identified the change happened in this feature: https://github.com/nrwl/nx/commit/28cd0c4eef99bc9da11ccd1772bf494c236672f5
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.
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:
https://github.com/nrwl/nx/blob/09c0b3d31a4c29d90a3ac9197fb3c7082acf8b5d/packages/js/src/executors/verdaccio/verdaccio.impl.ts#L161
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