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 does not update angular #5750

Closed
heddendorp opened this issue May 22, 2021 · 5 comments
Closed

nx migrate latest does not update angular #5750

heddendorp opened this issue May 22, 2021 · 5 comments
Assignees
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug

Comments

@heddendorp
Copy link

Current Behavior

running nx migrate latest only update @nrwl packages

Expected Behavior

The command should help me update all packages in my app.

Steps to Reproduce

Run the command in https://github.com/heddendorp/tumi-app/tree/nx-workspace

Failure Logs

Environment

>  NX  Report complete - copy this into the issue template

  Node : 14.16.1
  OS   : win32 x64
  yarn : 1.22.10

  nx : Not Found
  @nrwl/angular : Not Found
  @nrwl/cli : 12.3.4
  @nrwl/cypress : Not Found
  @nrwl/devkit : 12.3.4
  @nrwl/eslint-plugin-nx : Not Found
  @nrwl/express : Not Found
  @nrwl/jest : 12.3.4
  @nrwl/linter : 12.3.4
  @nrwl/nest : Not Found
  @nrwl/next : Not Found
  @nrwl/node : Not Found
  @nrwl/react : Not Found
  @nrwl/schematics : Not Found
  @nrwl/tao : 12.3.4
  @nrwl/web : Not Found
  @nrwl/workspace : 12.3.4
  @nrwl/storybook : Not Found
  @nrwl/gatsby : Not Found
  typescript : 4.1.5
@FrozenPandaz FrozenPandaz added the scope: angular Issues related to Angular support in Nx label May 22, 2021
@FrozenPandaz
Copy link
Collaborator

This issue occurs because @nrwl/angular is not installed.

This seems to be an Angular CLI workspace that was migrated to Nx so we should add @nrwl/angular as part of that process.

@heddendorp
Copy link
Author

Okay, thank you @FrozenPandaz so for me the quick fix is to just install the angular plugin?

@leosvelperez leosvelperez self-assigned this Jun 1, 2021
@leosvelperez
Copy link
Member

@heddendorp as @FrozenPandaz mentioned, this seems to be a workspace that was not correctly migrated to Nx. I can see you created this other issue where the migration did fail #5751 and that's unfortunate, I'll have a look at that one, but it can take some time until it gets resolved.

You can follow the steps on this guide https://nx.dev/latest/angular/migration/migration-angular#transitioning-manually to manually migrate your application to an Nx workspace.

@leosvelperez
Copy link
Member

I'm closing this one as it doesn't seem to be an issue of the nx migrate command, but a faulty migration to an Nx workspace from an Angular CLI workspace.

Please, feel free to reopen this if you still think this is an issue after the workspace migration issue is resolved.

@github-actions
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 Mar 23, 2023
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 type: bug
Projects
None yet
Development

No branches or pull requests

3 participants