Skip to content

Cannot start sc under windows #285

@arvedjo

Description

@arvedjo

Explanation

Hi, thanks for your work.
I seem to have an issue with windows and the package.

I cannot use sl sc under windows as it tries to spawn the wrong application name:

Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn C:\\Users\\arhess\\AppData\\Roaming\\npm\\node_modules\\saucelabs\\build\\sc-loader\\.sc-v5.2.2-windows-x86_64\\sc.exe',
  path: 'C:\\Users\\arhess\\AppData\\Roaming\\npm\\node_modules\\saucelabs\\build\\sc-loader\\.sc-v5.2.2-windows-x86_64\\sc.exe',
  spawnargs: [
    'run',

It tries to start sc.exe but if I look for the file I only find sauce-connect.exe in the folder.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions