Error: spawn EINVAL running autorest legacy on windows #4676
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
v3
Version 3 of AutoRest C# generator.
A recent Node JS update includes a breaking change to patch a security vulnerability: https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2
When running autorest csharp v2 on Windows, the "spanw EINVAL" error occurs and stops execution.
Tested with both Node v21.7.3 and v18.20.2 (the patch was applied across all major Node versions)
Command:
Console output:
Suggested solution from the Security Release announcement:
The text was updated successfully, but these errors were encountered: