这是indexloc提供的服务,不要输入任何密码
Skip to content

[turborepo] ERROR run failed: error preparing engine: Missing task definition, configure "build" or "___ROOT___#build" in turbo.json #3050

@weyert

Description

@weyert

What version of Turborepo are you using?

1.7.0-canary.3

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Mac

Describe the Bug

I tried to upgrade turbo from version 1.6.3 to 1.7.0-canary.3 and since the upgrade it's throwing the following error:

Running local turbo binary in /Users/weyert/Development/Projects/experiment/node_modules/turbo/bin/turbo

 ERROR  run failed: error preparing engine: Missing task definition, configure "build" or "___ROOT___#build" in turbo.json

while with 1.6.3 it runs as expected:

 Tasks:    1 successful, 2 total
Cached:    0 cached, 2 total
  Time:    12.478s 

Expected Behavior

I would expect that the command turbo run build would succeed running

To Reproduce

Not available yet

Reproduction Repo

No response

Metadata

Metadata

Assignees

Labels

kind: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions