React-bootstrap not installing - reactjs

I'm having issue installing react and react-bootstrap. I used them in the past and everything was working fine. But now, I seem to have an issue installing or updating them.
After the code line: npm install --save react-bootstrap in my terminal, I get these errors:
npm WARN react-bootstrap#0.32.1 requires a peer of react#^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-bootstrap#0.32.1 requires a peer of react-dom#^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-prop-types#0.4.0 requires a peer of react#>=0.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-transition-group#2.2.1 requires a peer of react#>=15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-transition-group#2.2.1 requires a peer of react-dom#>=15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-overlays#0.8.3 requires a peer of react#^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-overlays#0.8.3 requires a peer of react-dom#^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN prop-types-extra#1.0.1 requires a peer of react#>=0.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN uncontrollable#4.1.0 requires a peer of react#>=0.11.0 but none is installed. You must install peer dependencies yourself.
Even my past react projects aren't working anymore and I can't find in the docs anything about these errors.
Thank you for any help.

I suspect there's an typo in your command line
npm install --save react-booTstrap

Related

React Bootstrap application not running

I am trying to run my react bootstrap app with the command npm start, however this error appears
#babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining#7.14.5 requires a peer of #babel/core#^7.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap#5.0.0-alpha1 requires a peer of popper.js#^1.16.0 but none is installed. You must install peer dependencies yourself.
This is my package.json: https://hastebin.com/saforuvocu.json

React-webcam not getting added to my react project

I did the following to install react-webcam,
sudo npm install -g --save react-webcam
npm WARN react-webcam#3.0.1 requires a peer of react#>=15.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-webcam#3.0.1 requires a peer of react-dom#>=15.3.0 but none is installed. You must install peer dependencies yourself.
+ react-webcam#3.0.1
added 1 package from 1 contributor in 0.351s
but it wasnt added to the dependencies in package.json, So how can I add it to the node modules?

React 16 Upgrade dependency warnings

I upgraded from React 15.4 to React 16. I also went through all the js libraries in my package.json and updated them to the latest. Still i'm getting these warnings and am not sure how to resolve them.
npm WARN react-render-html#0.5.2 requires a peer of react#^15.1.0 but none was installed.
npm WARN react-addons-test-utils#15.6.2 requires a peer of react-dom#^15.4.2 but none was installed.
npm WARN recharts#1.0.0-alpha.6 requires a peer of react#^0.14.0 || ^15.0.0 but none was installed.
npm WARN #daptiv/ppm-npmp-react-theme#2.0.5 requires a peer of react#^15.6.1 but none was installed.
npm WARN react-resize-detector#0.6.0 requires a peer of react#^0.14.7 || ^15.0.0 but none was installed.
npm WARN react-smooth#0.3.0 requires a peer of react#^0.14.0 || ^15.0.0 but none was installed.
npm WARN react-smooth#0.3.0 requires a peer of react-dom#^0.14.0 || ^15.0.0 but none was installed.
npm WARN ppm-mspa-projectdashboard#0.0.23 No repository field.
Any ideas?
There is not much you can do about those warnings. If you look at the package.json files of those dependencies that you get the warning about, like react-render-html, you'll see that they have React 15 as peer dependency.
The authors of these packages you are using will have to update their dependency to the latest React to fix those warnings.
You can, of course, fork the projects and create pull requests to make it easier for them.

npm install errors in jenkins job

I am trying to run npm install command and getting the below error; The same package.JSON works fine in local, but when I try to run the command through jenkins job getting the error.
npm WARN #angular/animations#4.1.2 requires a peer of
#angular/core#4.1.2 but none was installed. npm WARN
#angular/core#2.3.1 requires a peer of rxjs#5.0.0-rc.4 but none was
installed. npm WARN #angular/http#2.3.1 requires a peer of
rxjs#5.0.0-rc.4 but none was installed. npm WARN
#angular/material#2.0.0-beta.5 requires a peer of #angular/core#^4.0.0
but none was installed. npm WARN #angular/material#2.0.0-beta.5
requires a peer of #angular/common#^4.0.0 but none was installed. npm
WARN #angular/router#3.3.1 requires a peer of rxjs#5.0.0-rc.4 but none
was installed. npm WARN #swimlane/ngx-datatable#7.1.1 requires a peer
of #angular/common#^4.0.0 but none was installed.
Please help me to fix this issue.
This error message says that you want to use #angular/animations#4.1.2 without #angular/core#4.1.2. This usually happens when you are missing or using different versions of modules.
Solution is, try to update your package.json dependencies and install missing once.

[react-native]npm install warn require multiple version react

I'm running a react-native project,and it's package.json dependencies some third-part libraries,but maybe these libraries haven't update for a long time,they require different version of react.
When I npm install, I got warning below:
npm WARN react-native#0.43.3 requires a peer of react#16.0.0-alpha.6 but none was installed.
npm WARN native-base-shoutem-theme#0.1.0 requires a peer of react#>=15.1.0 but none was installed.
npm WARN #shoutem/animation#0.8.10 requires a peer of react#^15.0.0 but none was installed.
npm WARN react-static-container#1.0.1 requires a peer of react#^0.13.0 || ^0.14.0 || ^15.0.0 but none was installed.
npm WARN react-test-renderer#15.4.2 requires a peer of react#^15.4.2 but none was installed.
I'm not sure npm could install multiple version in a single project.So how could I fix this problem?

Resources