Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

System env SASS_BINARY_DIR is ignored when installing with npm 8.10.0 #3273

@ghost

Description

Tested on node versions: 16.15.0, 16.14.0
Reproduced on two different computers, on Windows.

When running npm install:

  • postinstall on npm 8.5.5 works - pre-compiled binary is used, no build is attempted
  • postinstall on npm 8.10.0 doesn't work - pre-compiled binary is ignored

Maybe passing system envs is broken in some version of npm newer than 8.5.5?

Reporting it here, because maybe someone else could debug exactly what's happening.

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