Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Update setup.js #302

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update setup.js #302

wants to merge 1 commit into from

Conversation

ianisms
Copy link

@ianisms ianisms commented Sep 20, 2024

Adding shell: true to cp.spawn to resolve the following error on Windows:

Error: spawn EINVAL at ChildProcess.spawn (node:internal/child_process:414:11) at Object.spawn (node:child_process:761:9) at oneTimeConfigurationSteps (D:\repos\IDNA\Lockbox\security-LockBox\src\Microsoft.Azure.Security.LockBox.UI\Default\Extension\setup.js:534:16) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { errno: -4071, code: 'EINVAL', syscall: 'spawn' }

Adding ```shell: true``` to cp.spawn to resolve the following error on Windows:

```
Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:414:11)
    at Object.spawn (node:child_process:761:9)
    at oneTimeConfigurationSteps (D:\repos\IDNA\Lockbox\security-LockBox\src\Microsoft.Azure.Security.LockBox.UI\Default\Extension\setup.js:534:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -4071,
  code: 'EINVAL',
  syscall: 'spawn'
}
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant