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 next giving error @nestjs/common #16752

Closed
nosaku opened this issue May 4, 2023 · 5 comments · Fixed by #16771
Closed

nx migrate next giving error @nestjs/common #16752

nosaku opened this issue May 4, 2023 · 5 comments · Fixed by #16771
Labels
outdated scope: node Issues related to Node, Express, NestJS support for Nx type: bug

Comments

@nosaku
Copy link
Contributor

nosaku commented May 4, 2023

Current Behavior

NX The migrate command failed.

NX Command failed: npm install @nestjs/common@^9.1.0

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @nestjs/[email protected].
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR! xxxx-debug-0.log

Run migrate with --to="package1@version1,package2@version2"
Pass --verbose to see the stacktrace.

Expected Behavior

migration should be successful

GitHub Repo

No response

Steps to Reproduce

  1. nx migrate next

Nx Report

NA

Failure Logs

No response

Additional Information

No response

@nosaku
Copy link
Contributor Author

nosaku commented May 4, 2023

Per nestjs website. there is no version like 9.1.0

https://www.npmjs.com/package/@nestjs/common?activeTab=versions

@AgentEnder AgentEnder added the scope: node Issues related to Node, Express, NestJS support for Nx label May 4, 2023
@jaysoo
Copy link
Member

jaysoo commented May 4, 2023

@nosaku Thanks for reporting the issue. Can you run your migration using latest rather than next? We're testing a RC with Angular 16 upgrade, so things are still being patched.

@jaysoo jaysoo closed this as completed May 4, 2023
@nosaku
Copy link
Contributor Author

nosaku commented May 4, 2023

I have another issue which I opened and fixed too, #16706 hence was testing with "next".

@jaysoo
Copy link
Member

jaysoo commented May 4, 2023

Okay thanks. This is fixed here #16771

@github-actions
Copy link

github-actions bot commented Jun 4, 2023

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 Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: node Issues related to Node, Express, NestJS support for Nx type: bug
Projects
None yet
3 participants