-
Notifications
You must be signed in to change notification settings - Fork 176
Error: spawn EINVAL running autorest legacy on windows #4676
Copy link
Copy link
Open
Labels
customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatv3Version 3 of AutoRest C# generator.Version 3 of AutoRest C# generator.
Metadata
Metadata
Assignees
Labels
customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatv3Version 3 of AutoRest C# generator.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: