Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade package to be used with node 9+ #17

Open
brtdv opened this issue May 22, 2019 · 4 comments
Open

Upgrade package to be used with node 9+ #17

brtdv opened this issue May 22, 2019 · 4 comments

Comments

@brtdv
Copy link

brtdv commented May 22, 2019

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

@abe312
Copy link

abe312 commented Feb 22, 2020

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

@pragneshpj
Copy link

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

@mrrau
Copy link

mrrau commented Jun 9, 2020

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

@ZengLawrence
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants