Skip to content

npm spawn crashing on windows #59

@Roalkege

Description

@Roalkege

Hey, I run npx untracked > .dockerignore.
The empty .dockerignore is created and after that I see the following error.
Windows 11, Powershell 7.6.1

Error: spawn npm ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn npm',
  path: 'npm',
  spawnargs: [ 'ls', '--prod', '--all', '--parseable' ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions