Closed
Description
react-testing-library
version: 1.4.0node
version: 6.13.1npm
(oryarn
) 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
todevDependencies
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 restrictiveengines
stanza inpackage.json
Suggested solution:
- relax the Node version requirement for
react-testing-library
to4.5
(fromkcd-scripts
babel config) or at least6
(active LTS)?
Metadata
Metadata
Assignees
Labels
No labels