Skip to content

Optional dependencies still have problem #1285

@TrySound

Description

@TrySound

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Optional dependency is excluded but still try to build.

warning fsevents@1.0.14: The platform "win32" is incompatible with this module.
info "fsevents@1.0.14" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/1] ⠁ fsevents: gyp info using node@4.5.0 | win32 | x64
[-/1] ⠁ waiting...
[-/1] ⠁ waiting...
[-/1] ⠁ waiting...
error Error running install script for optional dependency: "[...]\\node_modules\\fsevents

If the current behavior is a bug, please provide the steps to reproduce.

yarn add chokidar

What is the expected behavior?

Incompatible optional dependency should be excluded completly.

Please mention your node.js, yarn and operating system version.

node4
yarn0.16.1
windows7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions