-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
turbo@1.0.25 doesn't detect any packages #549
Comments
Does this problem happen in 1.0.26? |
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 |
Same here. Steps to replicate:
Delete folder
|
Investigating |
Same here. Some packages are missing, vercel builds failing |
Can you upgrade to .27? |
Thank you for the response! Did that, resolved to multiple versions, but not working |
|
Can you set an env var with |
Same problem with |
Doesn't help ... the detected packages completely differ depending on ci envs or local |
I experienced this on a brand new repo (after running The initial run works great, but if I rename a directory Turbo doesn't seem to be able to resolve any packages... Not sure if it helps, but at least here's a way to reproduce:
|
Same for my side, node 16.13.1, created by npx use "./" as target and detect 0 packages: .../.nvm/versions/node/v16.13.1/lib/node_modules/npm/bin/npm-cli.js run build --scripts-prepend-node-path=auto
> turborepo-basic-shared@0.0.0 build
> turbo run build
• Packages in scope:
• Running build in 0 packages
Tasks: 0 successful, 0 total
Cached: 0 cached, 0 total
Time: 9ms >>> FULL TURBO
Process finished with exit code 0```
|
I change version to 1.0.25 and run "yarn", then run "build", then update again to "latest" and delete all ".turbo" folders, now "build" working fine. |
Same problem for me. I tried some of the solutions here without success. |
How does the package detection work at the moment? not from yarn workspaces? |
v1.0.28 yarn create turbo
cd my-app
yarn dev # works > Packages in scope: config, docs, tsconfig, ui, web
rm -rf apps/docs
yarn dev # doesn't work > Packages in scope: |
Looking through the 24->25 diff, I don't see anything obvious. There is some pnpm specific logic changes, but those seem around Confirmed, downgrade to 24 restores expected behavior. |
If you move or rename a package, re-running |
Can confirm this issue is with 8c871d4 |
Just a few more datapoints: In my monorepo (yarn), I have "workspaces": [
"packages/*",
"apps/*"
], and only the items in /packages are found. Things I've tried that didn't work:
Things that did work:
|
I'm still experiencing this with |
I solved it by removing symlinks altogether. |
@shunkakinoki yea I ended up doing the same |
i'm still seeing this issue after upgrading to 1.0.28, @shunkakinoki how did you fix it? not sure what you mean by removing symlinks |
|
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: |
@shikelong what is the |
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" |
At first, I use pnpm as packageManager. And I install dependencies in isolate mode. |
The problem with your |
I still get this issue with |
This issue was fixed in |
I encountered this problem in 1.1.4 and 1.1.5. |
I encountered this issue because I was linking my packages in packages:
- "api/*"
- "frontend/*" when I needed to do it as: packages:
- "api"
- "frontend" Because |
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
Expected Behavior
in 1.0.24 everything works fine
To Reproduce
update to 1.0.25 and run any script e.g dev, build
The text was updated successfully, but these errors were encountered: