question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove "engines" from package.json

See original GitHub issue

This module won’t install with yarn that seems to be more strict about checking engines flags than the npm client.

$ node --version
v7.4.0

$ yarn
yarn install v0.19.1
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error react-fastclick@3.0.0: The engine "node" is incompatible with this module. Expected version "6.9.4".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
JakeSidSmithcommented, Feb 1, 2017

I don’t want people using 5 or less to have issues though. May just set to *. I’ll have a think.

0reactions
caio-ribeiro-pereiracommented, Feb 2, 2017

me too!

Read more comments on GitHub >

github_iconTop Results From Across the Web

remove "engines" from package.json? - Google Groups
Good practice is to limit minimal engine version, but set max version unlimited. That's tested for ages in multiple package managers. Please, ...
Read more >
remove engines.npm from package.json #3073 - GitHub
We recommend avoiding the use of globally installed Mocha. Description. Node 4.0 introduced an engine dependency on npm >= 2.15.11. The blog ...
Read more >
package.json - npm Docs
Don't put "js" or "node" in the name. It's assumed that it's js, since you're writing a package.json file, and you can specify...
Read more >
How to ignore incompatible engine "node" error on installing ...
Open package.json and make sure the values you got from running the two commands above match with the versions of node and npm...
Read more >
[nodejs] remove "engines" from package.json? - Grokbase
Totally get the concern. I think one way we could prevent that is not supporting ranges but requiring you to choose a specific...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found