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

npm run webpack failed #369

Open
blackchoey opened this issue Dec 9, 2024 · 0 comments
Open

npm run webpack failed #369

blackchoey opened this issue Dec 9, 2024 · 0 comments

Comments

@blackchoey
Copy link
Collaborator

When run npm run webpack to webpack this extension, the command failed with below error:

Executing task: npm run webpack 


> [email protected] webpack
> npm run build && gulp webpack-dev


> [email protected] build
> tsc -p ./

[14:04:56] Requiring external module ts-node/register
[14:05:27] Using gulpfile ~\git\vscode-apimanagement\gulpfile.ts
[14:05:27] Starting 'webpack-dev'...
[14:05:27] 'webpack-dev' errored after 3.52 ms
[14:05:27] Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:414:11)
    at Object.spawn (node:child_process:761:9)
    at Object.gulp_webpack (C:\Users\username\git\vscode-apimanagement\node_modules\vscode-azureextensiondev\out\src\gulp\gulp_webpack.js:15:15)
    at exports.webpack-dev (C:\Users\username\git\vscode-apimanagement\gulpfile.ts:22:32)
    at taskWrapper (C:\Users\username\git\vscode-apimanagement\node_modules\undertaker\lib\set-task.js:13:15)
    at bound (node:domain:433:15)
    at runBound (node:domain:444:12)
    at asyncRunner (C:\Users\username\git\vscode-apimanagement\node_modules\async-done\index.js:55:18)     
    at processTicksAndRejections (node:internal/process/task_queues:77:11)

Environment:
nodejs: 18.20.5
npm: 10.8.2
vscode: 1.95.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant