react-bidirectional-infinite-scroll
react-bidirectional-infinite-scroll copied to clipboard
Upgrade package to be used with node 9+
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
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
@eberhara can you please upgrade this package to support node latest version.
yarn with --ignore-engines option will install it.
How about removing engines since this component does not appear to be depending on specific version of nodejs or npm?