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

Update Dependency @ts-common/azure-js-dev-tools to Resolve "errno: -4071, code: 'EINVAL', syscall: 'spawn'" #8592

Closed
Tracked by #8579
wanlwanl opened this issue Jul 10, 2024 · 0 comments
Assignees
Labels
SDK Automation Issues related to sdk automation

Comments

@wanlwanl
Copy link
Member

Got error in node 18.x and 22.x:

Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at Object.spawn (node:child_process:760:9)
    at RealRunner.run (C:\Users\wanl\workspace\wanl-fork-azure-sdk-tools\tools\js-sdk-release-tools\node_modules\@ts-common\azure-js-dev-tools\lib\run.ts:221:40)
    at Object.<anonymous> (C:\Users\wanl\workspace\wanl-fork-azure-sdk-tools\tools\js-sdk-release-tools\node_modules\@ts-common\azure-js-dev-tools\lib\run.ts:598:42)
    at step (C:\Users\wanl\workspace\wanl-fork-azure-sdk-tools\tools\js-sdk-release-tools\node_modules\tslib\tslib.js:141:27)
    at Object.next (C:\Users\wanl\workspace\wanl-fork-azure-sdk-tools\tools\js-sdk-release-tools\node_modules\tslib\tslib.js:122:57)
    at fulfilled (C:\Users\wanl\workspace\wanl-fork-azure-sdk-tools\tools\js-sdk-release-tools\node_modules\tslib\tslib.js:112:62)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -4071,
  code: 'EINVAL',
  syscall: 'spawn'
}

Workaround: use node v20.2.0
Solution option: update @ts-common/azure-js-dev-tools

@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jul 10, 2024
@wanlwanl wanlwanl added SDK Automation Issues related to sdk automation and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Jul 10, 2024
@wanlwanl wanlwanl changed the title Update @ts-common/azure-js-dev-tools to Resolve "errno: -4071, code: 'EINVAL', syscall: 'spawn'" Update Dependency @ts-common/azure-js-dev-tools to Resolve "errno: -4071, code: 'EINVAL', syscall: 'spawn'" Jul 10, 2024
@wanlwanl wanlwanl self-assigned this Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Automation Issues related to sdk automation
Projects
None yet
Development

No branches or pull requests

1 participant