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/devkit support (nx 16.0.0) #285

Closed
markfknight opened this issue Apr 18, 2023 · 4 comments
Closed

@nx/devkit support (nx 16.0.0) #285

markfknight opened this issue Apr 18, 2023 · 4 comments

Comments

@markfknight
Copy link

The breaking change from nx 16.0.0-beta.1.

When migrations are run @nrwl/devkit is replaced by @nx/devkit

> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -

 >  NX   Affected criteria defaulted to --base=main --head=HEAD


 >  NX   Cannot find module '@nrwl/devkit'

   Require stack:
   - /../../node_modules/@nx-aws-plugin/nx-aws-cache/src/tasks-runner/runner.js
   - /../../node_modules/@nx-aws-plugin/nx-aws-cache/src/index.js
   - /../../node_modules/nx/src/tasks-runner/run-command.js
   - /../../node_modules/nx/src/command-line/affected.js
   - /../../node_modules/nx/src/command-line/nx-commands.js
   - /../../node_modules/nx/bin/init-local.js
   - /../../node_modules/nx/bin/nx.js
   Pass --verbose to see the stacktrace.

husky - pre-commit hook exited with code 1 (error)

Caused by 16069

@bojanbass
Copy link
Owner

Thank you for reporting. It is written that @nrwl packages should still be published, so I'm not sure what is wrong. If you have an idea how to solve it you can propose a change. Also, this is still beta, so maybe it's good to wait for a stable release.

@ImanMahmoudinasab
Copy link

@bojanbass NX 16 is released on May 2. I think now this issue should get higher priority.
A similar migration: MansaGroup/nx-gcs-remote-cache#318

@bojanbass
Copy link
Owner

I will prepare the change soon. Also I would be happy to accepts PRs for this change.

@bojanbass
Copy link
Owner

Released in v3.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants