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

Windows, error "spawn EINVAL" when publishing #969

Closed
larshp opened this issue Apr 20, 2024 · 1 comment · Fixed by #973
Closed

Windows, error "spawn EINVAL" when publishing #969

larshp opened this issue Apr 20, 2024 · 1 comment · Fixed by #973
Assignees

Comments

@larshp
Copy link

larshp commented Apr 20, 2024

Running node 20.12.2 + vsce 2.26.0 on windows, and publishing it gives error "spawn EINWAL"

I guess it executes npm.cmd

see nodejs/node#52554 and https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2

workaround is to add { shell: true }

https://github.com/microsoft/vscode-vsce/blob/main/src/package.ts#L409

workaround: downgrading to node 20.12.1

@joaomoreno
Copy link
Member

Yup, we started hitting this in our very own CI since almost a week.

@benibenj Can you take a look?

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

Successfully merging a pull request may close this issue.

3 participants