Skip to content

Relax engine requirements #59

Closed
Closed
@lee-reinhardt

Description

@lee-reinhardt

The latest version 3.0.0 looks great, and thank you for all the improvements.

However, one thing that changed is the engines definition in package.json. When attempting to install with yarn, it refuses to install if you're not using node 12.

This can be worked around with the --ignore-engines flag, but it's not clear whether requiring v12 is absolutely necessary. I think at least v10 should be allowed as well.

$ yarn add react-diff-viewer
yarn add v1.21.1
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error react-diff-viewer@3.0.0: The engine "node" is incompatible with this module. Expected version "^12". Got "10.17.0"
error Found incompatible module.

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