Skip to content

engines config breaks deploys to Netlify #12

Closed
@wKovacs64

Description

@wKovacs64
  • react-testing-library version: 1.4.0
  • node version: 6.13.1
  • npm (or yarn) version: yarn 0.18.1

Relevant code or config:

react-testing-library package.json:

"engines": {
  "node": ">=8",
  "npm": ">=5"
},

What you did:

  • deployed existing site to Netlify after adding react-testing-library to devDependencies

What happened:

  • Netlify deploy failed:
7:57:52 PM: error react-testing-library@1.4.0: The engine "node" is incompatible with this module. Expected version ">=8".
7:57:52 PM: error Found incompatible module

Problem description:

  • react-testing-library uses a somewhat restrictive engines stanza in package.json

Suggested solution:

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