turbo: turbo@1.0.25 doesn't detect any packages

What version of Turborepo are you using?

1.0.25

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

pnpm

What operating system are you using?

Linux

Describe the Bug

After updating to 1.0.25 turbo doesn’t detect any packages

> test@1.0.0 build /home/paul/r/test
> turbo run build

• Packages in scope: 
• Running build in 0 packages

 Tasks:    0 successful, 0 total
Cached:    0 cached, 0 total
  Time:    2ms >>> FULL TURBO 

Expected Behavior

in 1.0.24 everything works fine

> test@1.0.0 build /home/paul/r/test
> turbo run build

• Packages in scope: @test/api, @test/shared, test-server, test-ui
• Running build in 4 packages
@test/shared:build: cache miss, executing 3ecd2717612f3d54
@test/shared:build: 
...

To Reproduce

update to 1.0.25 and run any script e.g dev, build

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 35 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Investigating

Same problem with 1.0.27 and 1.0.28

Yes it is

• Packages in scope:
• Running build in 0 packages

 Tasks:    0 successful, 0 total
Cached:    0 cached, 0 total
  Time:    13ms >>> FULL TURBO

❯ turbo --version
1.0.26

This issue was fixed in 1.1.0-canary.2

same issue in 1.0.28

I fix this issue by run clean step, and then reinstall root level dependencies.


pnpm run clean

pnpm install

pnpm run dev
# now it's ok

My clean script: "clean": "turbo run clean && rm -rf node_modules"

How does the package detection work at the moment? not from yarn workspaces?