Skip to content

Mismatching with react 15.6.1 #34

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

Open
medmes opened this issue Oct 10, 2018 · 1 comment
Open

Mismatching with react 15.6.1 #34

medmes opened this issue Oct 10, 2018 · 1 comment

Comments

@medmes
Copy link

medmes commented Oct 10, 2018

Hey guys,

I have an issue related to versioninig in CentosRHEL7, I use react 15.6.1 and react-google-recaptcha which relay on react-async-script-loader

here's my configuration.
"dependencies": { "react": "^15.6.1", "react-awesome-modal": "2.0.3", "react-calendar": "^2.14.0", "react-dom": "^15.6.1", "react-google-recaptcha": "^0.13.0", "react-infinite-calendar": "^2.3.1", "react-moment": "^0.7.0", "react-redux": "^5.0.5", "react-router": "^3.0.0", "react-router-dom": "4.2.2", "react-time-picker": "^2.3.2", "redbox-react": "^1.3.6", "redux": "^3.6.0", "redux-immutable": "4.0.0", "redux-thunk": "^2.2.0", "reselect": "3.0.1", "superagent": "^2.0.0", "whatwg-fetch": "^2.0.3" } // and other dependencies..
> npm install
npm WARN [email protected] requires a peer of react@>=16.4.1 but none is installed. You must install peer dependencies yourself.

By the way, I do not have this issue on Windows!
How can I force to download the 0.11.1 instead of 1.0.0 which is very compatible with react 15.6.1 compared to 16.

Thanks!

@elhajouis
Copy link

elhajouis commented Oct 11, 2018

Hello,
We have the same issue, the dependencie react-google-recaptcha needs to download "react-async-script", on Windows it download the "react-async-script" version 0.10.0 or 0.11.1 (compatible with react 15.) but never higher => build OK delivrey OK.
However on linux, it always download the "react-async-script" version 1.0.0 which (not compatible with react 15.
) => build OK with warning => delivrey KO (errors on the browser)
How can we bypass this problem without investing on a react upgrade?

Regards.

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

2 participants