fix: fix spawn EINVAL error in node 20 (#226)
This commit is contained in:
1 parent
2907f09e58
commit
86250a53d6
1 file changed
+1
Vendored
+1
@@ -17,6 +17,7 @@ spawn(
|
|||||||
process.platform === 'win32' ? 'npm.cmd' : 'npm',
|
process.platform === 'win32' ? 'npm.cmd' : 'npm',
|
||||||
['run', 'dev'],
|
['run', 'dev'],
|
||||||
{
|
{
|
||||||
|
shell: true,
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
env: Object.assign(process.env, { VSCODE_DEBUG: 'true' }),
|
env: Object.assign(process.env, { VSCODE_DEBUG: 'true' }),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user