-
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
npx nx migrate latest
Failed to install the latest version of the migration script. Using the current version.
#26926
Comments
Could you tell us more about how you have the local registry defined please? |
It's not local but remote (Sonatype Nexus). I have it defined via
|
@jahusa02 This particular issue might not be related to the registry. I think it's more likely to be related to something specific to your environment, potentially permissions, or something similar. Given that it might be hard to reproduce (I already tried and couldn't), would you be willing to make a local change to the installed If so, please update the line 167 of the file - stdio: ['ignore', 'ignore', 'ignore'],
+ stdio: 'inherit', Then run
|
I tried the same thing on my windows system and it threw the same error. When I changed the stdio to
|
@jahusa02 thanks for sharing the extra logs. It seems the issue is we don't copy the workspace |
@leosvelperez thank you for the fast reply and solution! |
…x version in nx migrate (#27032) <!-- 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 #26926 (cherry picked from commit 0bc8898)
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
npx nx migrate latest throws error for install script
Expected Behavior
should not throw an error
GitHub Repo
No response
Steps to Reproduce
Dunno if its related but I have a private Registry defined.
npx nx migrate latest
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: