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 migrate latest fails on an Angular workspace: Unable to fetch migrations for @ngrx/signals@18.0.0 #26985

Closed
1 of 4 tasks
gergelyszerovay opened this issue Jul 18, 2024 · 6 comments
Assignees
Labels
outdated scope: angular Issues related to Angular support in Nx scope: core core nx functionality type: bug

Comments

@gergelyszerovay
Copy link

gergelyszerovay commented Jul 18, 2024

Current Behavior

I try to migrate an Angular workspace (Nx 19.1.0, Angular 18.0.1) to the latest Nx (19.5.1) using the pnpm exec nx migrate latest command, and I get the following error message:

Unable to fetch migrations for @ngrx/signals@18.0.0: Command failed: npm install @ngrx/signals@18.0.0

Expected Behavior

It should update the packages and the workspace

GitHub Repo

No response

Steps to Reproduce

Angular workspace (Nx 19.1.0, Angular 18.0.1), run using the pnpm exec nx migrate latest

Nx Report

NX   Report complete - copy this into the issue template

Node   : 20.10.0
OS     : win32-x64
pnpm   : 9.4.0

nx                 : 19.1.0
@nx/js             : 19.1.0
@nx/jest           : 19.1.0
@nx/linter         : 19.1.0
@nx/eslint         : 19.1.0
@nx/workspace      : 19.1.0
@nx/angular        : 19.1.0
@nx/cypress        : 19.1.0
@nx/devkit         : 19.1.0
@nx/eslint-plugin  : 19.1.0
@nx/storybook      : 19.1.0
@nrwl/tao          : 19.1.0
@nx/web            : 19.1.0
@nx/webpack        : 19.1.0
typescript         : 5.4.5
---------------------------------------
Community plugins:
@ngrx/component-store : 17.2.0
@ngrx/effects         : 17.2.0
@ngrx/entity          : 17.2.0
@ngrx/operators       : 17.2.0
@ngrx/signals         : 17.2.0
@ngrx/store           : 17.2.0
@ngrx/store-devtools  : 17.2.0
@rx-angular/template  : 17.0.1
@storybook/angular    : 7.6.2
ng-mocks              : 14.12.1
ngx-toastr            : 17.0.2
ngxtension            : 3.5.5

Failure Logs

No response

Package Manager Version

pnpm 9.4.0

Operating System

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

Additional Information

@ngrx/signals@18.0.0 wasn't released yet: ngrx/platform#4394

@FrozenPandaz FrozenPandaz added the scope: angular Issues related to Angular support in Nx label Jul 18, 2024
@leosvelperez leosvelperez added the scope: core core nx functionality label Jul 19, 2024
@netanelb-carbyne
Copy link

@leosvelperez If you interested to know, @ngrx/signals has just released
ngrx/platform#4394 (comment)

@leosvelperez
Copy link
Member

@netanelb-carbyne, thanks for the heads-up! That alone makes the issue go away, though it hides the actual underlying issue, which is a very infrequent one. This is the first time that it has appeared. We'll get to address it at some point, but it has a lower priority given how unlikely it is to happen.

@gergelyszerovay could you try updating again and confirm everything works for you now?

@aahunt-cisco
Copy link

aahunt-cisco commented Jul 25, 2024

I am still getting this error when running nx migrate latest. Nx is expecting 18.0.1 but 18.0.0 is what was just released today for ngrx signals.

image

@leosvelperez
Copy link
Member

@aahunt-cisco thanks for confirming! Alright, so, I'll work on fixing it given it will continue to cause problems.

@leosvelperez
Copy link
Member

I'm closing this one as a duplicate of #26799. That one was open first and it's the same issue. Please follow it for updates.

@leosvelperez leosvelperez closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2024
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 Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: angular Issues related to Angular support in Nx scope: core core nx functionality type: bug
Projects
None yet
Development

No branches or pull requests

5 participants