question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find runner configuration for default

See original GitHub issue

Current Behavior

After upgrading to 14.4.2, non of the commands work. The migration went perfectly fine without any issues. Running things like nx test ... or nx serve .. or nx storybook .. results in Could not find runner configuration for deftault

When I log nxArgs & nxJson, I get taskRunnerOptions: {}.

Expected Behavior

Should work normally.

Steps to Reproduce

Failure Logs

Environment

 Node : 16.15.0
   OS   : darwin arm64
   yarn : 1.22.1
   
   nx : 14.4.2
   @nrwl/angular : Not Found
   @nrwl/cypress : 14.4.2
   @nrwl/detox : Not Found
   @nrwl/devkit : 14.4.2
   @nrwl/eslint-plugin-nx : 14.4.2
   @nrwl/express : Not Found
   @nrwl/jest : 14.4.2
   @nrwl/js : 14.4.2
   @nrwl/linter : 14.4.2
   @nrwl/nest : Not Found
   @nrwl/next : Not Found
   @nrwl/node : 14.4.2
   @nrwl/nx-cloud : Not Found
   @nrwl/nx-plugin : Not Found
   @nrwl/react : 14.4.2
   @nrwl/react-native : Not Found
   @nrwl/schematics : Not Found
   @nrwl/storybook : 14.4.2
   @nrwl/web : 14.4.2
   @nrwl/workspace : 14.4.2
   typescript : 4.7.4
   ---------------------------------------
   Community plugins:

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

8reactions
MurLuckcommented, Jul 27, 2022

theres a missing config on nx.json

"tasksRunnerOptions": {
    "default": {
      "runner": "nx/tasks-runners/default",
      "options": {
        "cacheableOperations": ["build", "lint", "test", "e2e"]
      }
    }
  },

seems like the migration.json missing this part

1reaction
ar7caspercommented, Jul 12, 2022

Just created a project with 14.4.2 from scratch and it seems fine so far, created one lib and it’s able to build

Read more comments on GitHub >

github_iconTop Results From Across the Web

react native - Android Studio can't find runner
I faced a similar error. I was trying to import a built apk to profile it and ran into the scenario where the...
Read more >
Configuring runners - GitLab Docs
Go to the project's Settings > CI/CD and expand the Runners section. Find the runner you want to pick untagged jobs and make...
Read more >
Project Configuration
Projects can be configured in package.json (if you use npm scripts and not Nx executors) ... Nx merges the two files to get...
Read more >
Configuring Jest
You can retrieve Jest's defaults from jest-config to extend them if needed: ... Node.js core modules, like fs , are not mocked by...
Read more >
Create and edit run/debug configurations
You can share a run/debug configuration (but not a template) through your ... Android Studio provides default configuration templates to help you get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found