Darren rogers
Darren rogers

Reputation: 627

npm install react-bootstrap erroring

My code is importing components from react-bootstrap

import { FormGroup, ControlLabel } from "react-bootstrap";

I am running

npm install react-bootstrap

inorder to install the package when I do I get this error

npm ERR! code E404
npm ERR! 404 Not Found: react-bootstrap-validtion@latest
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

I attempted then to npm install [email protected] but that too errored How can I fix this

Upvotes: 0

Views: 2217

Answers (3)

Jokanola
Jokanola

Reputation: 88

It is a better practice to install both react-bootstrap and bootstrap itself, If you try to install bootstrap along react-bootstrap using this code you should get out of the errors

 npm install bootstrap react-bootstrap

Upvotes: 0

The versions for react-popper are 1.2.0 or 1.3.0. https://www.npmjs.com/package/react-popper[Version page of react-popper][1]

No version 1.2.1 is available.

Upvotes: 1

saketh
saketh

Reputation: 813

There is no react -popper version 1.2.1 which you are trying to install please go through the react-popper versions here

For react bootstrap installation please refer React-Bootstrap

If these do not help you solve your problem please let us know

Upvotes: 0

Related Questions