react-bidirectional-infinite-scroll icon indicating copy to clipboard operation
react-bidirectional-infinite-scroll copied to clipboard

Upgrade package to be used with node 9+

Open brtdv opened this issue 6 years ago • 4 comments

When I'm trying to install the package, I get the following error:

$ yarn add react-bidirectional-infinite-scroll
yarn add v1.15.2
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "^9.2.0 || ^8.0.0". Got "12.3.0"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

I'm using node v12.3.0 and yarn v1.15.2

brtdv avatar May 22 '19 08:05 brtdv

The fix I used was nvm use 8 and then yarn add react-bidirectional-infinite-scroll It worked since I wasn't using anything that would require later node versions

abe312 avatar Feb 22 '20 09:02 abe312

@eberhara can you please upgrade this package to support node latest version.

pragneshpj avatar Feb 28 '20 05:02 pragneshpj

yarn with --ignore-engines option will install it.

mrrau avatar Jun 09 '20 13:06 mrrau

How about removing engines since this component does not appear to be depending on specific version of nodejs or npm?

ZengLawrence avatar Mar 07 '21 15:03 ZengLawrence