-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
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/vercel/turborepo/tree/main/examples/basic
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Windows
Which canary version will you have in your reproduction?
2.2.3
Describe the Bug
Executing any turbo task in PowerShell results in the following error with PNPM 9.12.3:
- 'node' is not recognized as an internal or external command, operable program or batch file.
node is registed on the PATH and is available in PowerShell
Expected Behavior
turbo commands successfully execute
To Reproduce
- use pnpm 9.12.3 to create a new turborepo using
pnpm dlx create-turbo@latest --example basic
- cd into the newly created turborepo
- execute
pnpm run dev
Additional context
Exact PowerShell version: 7.4.6
Full execution log with debug verbosity
my-turborepo@ dev F:\my-turborepo
turbo dev "--filter" "web" "--verbosity" "2"
2024-11-12T19:05:20.965+0100 [DEBUG] turborepo_lib::shim: Global turbo version: 2.2.3
2024-11-12T19:05:20.967+0100 [DEBUG] turborepo_lib::shim: Repository Root: F:\my-turborepo
2024-11-12T19:05:20.967+0100 [DEBUG] turborepo_lib::shim::local_turbo_state: No local turbo binary found at: F:\my-turborepo\node_modules\turbo-windows-64\bin\turbo.exe
2024-11-12T19:05:20.967+0100 [DEBUG] turborepo_lib::shim::local_turbo_state: No local turbo binary found at: F:\my-turborepo\node_modules\turbo\node_modules\turbo-windows-64\bin\turbo.exe
2024-11-12T19:05:20.967+0100 [DEBUG] turborepo_lib::shim::local_turbo_state: Local turbo path: F:\my-turborepo\node_modules.pnpm\turbo-windows-64@2.2.3\node_modules\turbo-windows-64\bin\turbo.exe
2024-11-12T19:05:20.967+0100 [DEBUG] turborepo_lib::shim::local_turbo_state: Local turbo version: 2.2.3
2024-11-12T19:05:20.969+0100 [DEBUG] turborepo_lib::shim: Currently running turbo is local turbo.
turbo 2.2.3
2024-11-12T19:05:20.975+0100 [DEBUG] turborepo_lib::process: spawning children with pty: true
2024-11-12T19:05:20.976+0100 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("C:\Users\Izumi\AppData\Local\Temp\turbod\94a4c8776e0eb18f\turbod.pid")
WARNING stale pid file at "C:\Users\Izumi\AppData\Local\Temp\turbod\94a4c8776e0eb18f\turbod.pid"
2024-11-12T19:05:20.976+0100 [DEBUG] turborepo_lib::daemon::connector: no pid found, starting daemon
2024-11-12T19:05:20.982+0100 [DEBUG] log: No cached session for DnsName(DnsName(DnsName("telemetry.vercel.com")))
2024-11-12T19:05:20.982+0100 [DEBUG] log: Not resuming any session
2024-11-12T19:05:21.001+0100 [DEBUG] log: Using ciphersuite TLS13_AES_128_GCM_SHA256
2024-11-12T19:05:21.001+0100 [DEBUG] log: Not resuming
2024-11-12T19:05:21.002+0100 [DEBUG] log: TLS1.3 encrypted extensions: [Protocols([6832])]
2024-11-12T19:05:21.002+0100 [DEBUG] log: ALPN protocol is Some(b"h2")
2024-11-12T19:05:21.002+0100 [DEBUG] log: Ticket saved
2024-11-12T19:05:21.008+0100 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 26608
2024-11-12T19:05:21.008+0100 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: C:\Users\Izumi\AppData\Local\Temp\turbod\94a4c8776e0eb18f\turbod.sock
2024-11-12T19:05:21.009+0100 [DEBUG] turborepo_lib::daemon::connector: socket error: transport error
2024-11-12T19:05:21.067+0100 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("C:\Users\Izumi\AppData\Local\Temp\turbod\94a4c8776e0eb18f\turbod.pid")
2024-11-12T19:05:21.068+0100 [DEBUG] turborepo_lib::daemon::connector: found pid: 26608
2024-11-12T19:05:21.068+0100 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 26608
2024-11-12T19:05:21.068+0100 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: C:\Users\Izumi\AppData\Local\Temp\turbod\94a4c8776e0eb18f\turbod.sock
2024-11-12T19:05:21.068+0100 [DEBUG] tower::buffer::worker: "processing request"
2024-11-12T19:05:21.069+0100 [DEBUG] turborepo_lib::daemon::connector: connected in 93689µs
2024-11-12T19:05:21.070+0100 [DEBUG] turborepo_lib::run::builder: running in daemon mode
2024-11-12T19:05:21.070+0100 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-11-12T19:05:21.070+0100 [DEBUG] turborepo_repository::discovery: discovering packages using primary strategy
2024-11-12T19:05:21.070+0100 [DEBUG] turborepo_repository::discovery: discovering packages using fallback strategy
2024-11-12T19:05:21.070+0100 [DEBUG] turborepo_repository::discovery: attempting primary strategy
2024-11-12T19:05:21.070+0100 [DEBUG] turborepo_lib::run::package_discovery: discovering packages using daemon
2024-11-12T19:05:21.070+0100 [DEBUG] tower::buffer::worker: "processing request"
2024-11-12T19:05:21.071+0100 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-11-12T19:05:21.071+0100 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-11-12T19:05:21.080+0100 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-11-12T19:05:21.080+0100 [DEBUG] turborepo_lib::run::task_access: TASK ACCESS TRACE: unable to restore config from cache
• Packages in scope: web
• Running dev in 1 packages
• Remote caching disabled
┌ web#dev > cache bypass, force executing 589a1dd12f69a0fe
│
│ > web@0.1.0 dev F:\my-turborepo\apps\web
│ > next dev --turbo
│
│ 'node' is not recognized as an internal or external command,
│ operable program or batch file.
│ ELIFECYCLE Command failed with exit code 1.
│
│ command finished with error: command (F:\my-turborepo\apps\web) C:\Program Files\nodejs\pnpm.CMD ru
│ n dev exited (1)
└────>
web#dev: command (F:\my-turborepo\apps\web) C:\Program Files\nodejs\pnpm.CMD run dev exited (1)
Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 471ms
Failed: web#dev
2024-11-12T19:05:21.448+0100 [DEBUG] turborepo_lib::process: waiting for 0 processes to exit
ERROR run failed: command exited (1)
2024-11-12T19:05:21.692+0100 [DEBUG] turborepo_telemetry: telemetry handle closed
2024-11-12T19:05:21.692+0100 [DEBUG] log: Sending warning alert CloseNotify
ELIFECYCLE Command failed with exit code 1.