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

Cannot find module '@nrwl/workspace/tasks-runners/default' #126

Closed
NullVoxPopuli opened this issue Sep 19, 2022 · 3 comments
Closed

Cannot find module '@nrwl/workspace/tasks-runners/default' #126

NullVoxPopuli opened this issue Sep 19, 2022 · 3 comments

Comments

@NullVoxPopuli
Copy link

NullVoxPopuli commented Sep 19, 2022

Following the instructions in the README, I ran in to this error:

 >  NX   Cannot find module '@nrwl/workspace/tasks-runners/default'

   Require stack:
   - <repo>/node_modules/@nx-aws-plugin/nx-aws-cache/src/tasks-runner/runner.js
   - <repo>/node_modules/@nx-aws-plugin/nx-aws-cache/src/index.js
   - <repo>/node_modules/nx/src/tasks-runner/run-command.js
   - <repo>/node_modules/nx/src/command-line/run-many.js
   - <repo>/node_modules/nx/src/command-line/nx-commands.js
   - <repo>/node_modules/nx/bin/init-local.js
   - <repo>/node_modules/nx/bin/nx.js

I'm using nx 14 with no plugins, so the default task runner (in nx.json) is: "runner": "nx/tasks-runners/default",
Should that new nx runner path should be used instead?

@bastijnv
Copy link

For others running into this issue, manually installing does resolve the issue.

yarn add @nrwl/workspace --dev
yarn add @angular-devkit/schematics --dev

@NullVoxPopuli
Copy link
Author

Sure, that makes the error go away, but they shouldn't be needed

@bojanbass
Copy link
Owner

Please update to v2.0.0 and report if the issue is still present.

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