devcontainers / devcontainers/cli

Error: spawn EINVAL / node 22 breaks `devcontainer up`

Aperta
#1,147 6 commenti 0 reazioni 1 assegnatario Rivendicata da @v-Kaniska244 Vedi su GitHub
info-needed
Lingua principale
TypeScript
Stelle
3k
Fork
457
Merge medio
13h 17m
PR unite (30g)
6

Descrizione

I believe this is due to a breaking change in node 22. I also believe the fix is to use the nodeJS options: `spawn(command, args, { shell: true });` but that's a change to the CLI as we can't pass that in...

```
devcontainer up
[2 ms] @devcontainers/cli 0.83.0. Node.js v22.13.1. win32 10.0.26200 x64.
Error: spawn EINVAL
at ChildProcess.spawn (node:internal/child_process:420:11)
at Object.spawn (node:child_process:753:9)
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.