devcontainers / devcontainers/cli

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

オープン
#1,147 コメント 6 件 リアクション 0 件 担当者 1 名 @v-Kaniska244 が担当を希望しています GitHub で見る
info-needed
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

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)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。