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

🐛 Bug: turbo watch does not work in single-package workspaces #9531

Open
1 task done
ygrandgirard opened this issue Nov 27, 2024 · 0 comments
Open
1 task done

🐛 Bug: turbo watch does not work in single-package workspaces #9531

ygrandgirard opened this issue Nov 27, 2024 · 0 comments
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage

Comments

@ygrandgirard
Copy link

ygrandgirard commented Nov 27, 2024

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/ygrandgirard/turbo-single-package-watch-repro

Which canary version will you have in your reproduction?

2.3.3

Enviroment information

> npx turbo info
turbo 2.3.3

CLI:
   Version: 2.3.3
   Path to executable: <project>\node_modules\turbo-windows-64\bin\turbo.exe
   Daemon status: Running
   Package manager: npm

Platform:
   Architecture: x86_64
   Operating system: windows
   WSL: false
   Available memory (MB): 1900
   Available CPU cores: 16

Environment:
   CI: None
   Terminal (TERM): unknown
   Terminal program (TERM_PROGRAM): unknown
   Terminal program version (TERM_PROGRAM_VERSION): unknown
   Shell (SHELL): unknown
   stdin: false

Expected behavior

It should run my command in watch mode.

Actual behavior

> npx turbo watch lint
turbo 2.3.3

• Running lint
• Remote caching disabled
• Running lint
• Remote caching disabled
  × discovery failed: version mismatch: package.json: no workspaces found. Turborepo requires npm workspaces to be
  │ defined in the root package.json

To Reproduce

  1. Clone https://github.com/ygrandgirard/turbo-single-package-watch-repro
  2. Run npm install
  3. Run npx turbo watch lint

Additional context

No response

@ygrandgirard ygrandgirard added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage
Projects
None yet
Development

No branches or pull requests

1 participant