petithomme
petithomme

Reputation: 549

React-bootstrap not installing

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 [email protected] requires a peer of react@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] requires a peer of react-dom@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] requires a peer of react@>=0.14.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] requires a peer of react@>=15.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] requires a peer of react-dom@>=15.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] requires a peer of react@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] requires a peer of react-dom@^0.14.9 || >=15.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] requires a peer of react@>=0.14.0 but none is installed. You must install peer dependencies yourself.

npm WARN [email protected] 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.

Upvotes: 1

Views: 1830

Answers (2)

Ajayi Olorunfemi
Ajayi Olorunfemi

Reputation: 1

add --force after pasting the command in your terminal. The error is a version issue

Upvotes: 0

Alex Brazh
Alex Brazh

Reputation: 530

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

Upvotes: 0

Related Questions