Skip to content

On failure yarn gives no output but npm does #16

@culli

Description

@culli

Expected Behavior

When the install fails on yarn it should return the output of the error.

Actual Behavior

In yarn the build does not show the error:

error ..../node_modules/saucectl: Command failed.
Output:

With npm it will give more info:

Installation failed: 
Check that you have access to https://github.com/saucelabs/saucectl/releases or format of the 
SAUCECTL_INSTALL_BINARY environment variable is correct

Steps to Reproduce the Problem

  1. In my case, the error is happening because I'm on an M1 Mac and saucectl dependencies don't detect it correctly.
  2. Add saucectl as a dependency in package.json.
  3. Run yarn

Specifications

  • Version:
    • saucectl, tried with both 0.87.0 and 0.102.0
    • yarn 1.22.19
    • node 16.14.2
  • Platform: Apple M1 processor, MacBook Pro, macOS 12.14 (monterey)
  • Subsystem:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions