-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 migrate latest from 14.1.7 -> 14.1.8 fails #10459
Comments
Also not working for me Error when trying to generate new node app, what got me here
Error when trying to migrate
Report
|
I dont know why this worked but I bumped down my nvm to 16 tried, it didnt work, bumped back up to 18 and ran |
I was able to get around this by setting the versions in the migration command via |
I have the same or at least a similar issue. How small my migrate step should be I always get a message like
The actual package name differs. After executing that command manually, it is possible to run the migration without problem. |
worked for me with 14.1.9... maybe this #10411 is a fix for it... hoping I won't have to mess around with workarounds for upgrading in the future, it all worked flawlessly until v14 for me... |
Coming from 13.8.8 and running
|
Hey! There was a bug in our publishing process that was mistakenly made public in 14.1.8. We can't fix this for version 14.1.8, but it should be fixed from 14.1.9 onwards. I'm going to close out this issue since the fix has been released. @timtos It seems like that may be a transient error, do you care to try again and open a new issue if it persists? |
@AgentEnder It was indeed a transient error. After doing a nx reset, the migration step succeeded. Thank you. But one thing I don't understand: Why does nx update the @storybook/addon-notes package to verison 6.4.12 when the latest package version available is still 5.3.21. Perhaps I should create a ticket for that? |
Huh, yeah that looks wrong. open one up |
@AgentEnder Ok, created a ticket. Thank you for your support. |
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
yarn nx migrate latest fails... I've had problems migrating all since v14, and every time I have ended up doing it via yarn up first, then rolling back and then doing via nx migrate (to get the migrations) . Nx has double fetched all nrwl packages since 14.x, and now it seems to try to fetch some packages for a third time with invalid paths:
....
Fetching @nrwl/angular@file:../angular
Fetching @nrwl/js@file:../js
Fetching @nrwl/cypress@file:../cypress
Expected Behavior
It works...
Steps to Reproduce
Failure Logs
C:\Users\atles\source\repos\teve-no\task4s>yarn nx migrate latest
yarn run v1.22.18
$ C:\Users\atles\source\repos\teve-no\task4s\node_modules.bin\nx migrate latest
Fetching meta data about packages.
It may take a few minutes.
Fetching nx@14.1.8
Fetching nx@latest
Fetching @nrwl/js@14.1.8
Fetching @nrwl/jest@14.1.8
Fetching @nrwl/workspace@14.1.8
Fetching @nrwl/angular@14.1.8
Fetching @nrwl/linter@14.1.8
Fetching @nrwl/cypress@14.1.8
Fetching @nrwl/workspace@14.1.8
Fetching @nrwl/js@14.1.8
Fetching @nrwl/jest@14.1.8
Fetching @nrwl/linter@14.1.8
Fetching @nrwl/cypress@14.1.8
Fetching @nrwl/angular@14.1.8
Fetching @nrwl/angular@file:../angular
Fetching @nrwl/js@file:../js
Fetching @nrwl/cypress@file:../cypress
ERROR The migrate command failed.
Command failed: yarn add -W @nrwl/angular@file:../angular
warning package.json: No license field
warning No license field
error Package "" refers to a non-existing file '"C:\Users\atles\AppData\Local\Temp\angular"'.
Done in 79.09s.
Environment
Node : 16.15.0
OS : win32 x64
yarn : 1.22.18
nx : 14.1.7
@nrwl/angular : 14.1.7
@nrwl/cypress : 14.1.7
@nrwl/detox : Not Found
@nrwl/devkit : 14.1.7
@nrwl/eslint-plugin-nx : 14.1.7
@nrwl/express : Not Found
@nrwl/jest : 14.1.7
@nrwl/js : 14.1.7
@nrwl/linter : 14.1.7
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : Not Found
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : 14.1.7
@nrwl/web : Not Found
@nrwl/workspace : 14.1.7
typescript : 4.6.4
rxjs : 7.5.5
Community plugins:
The text was updated successfully, but these errors were encountered: