React bootstrap throwing invalid hook error in react.js

 



  If you ever run into this issue follow the instructions below.

 your code/project is missing the react-bootstrap package. It is not listed in the package.json   file in your directory.

 

To add locally for your project, run from the project directory:

npm i -s react-bootstrap

This will install the current version of react-bootstrap and add/save it to the package.json dependencies section..

 

 for more details about react-bootstrap try visiting this link: https://react-bootstrap.github.io/getting-started/introduction

 

 

Comments

Popular posts from this blog

VS CODE UNABLE TO CHANGE USER SETTINGS - HOW TO FIX IT

Day 2: Loops :- 10 Days Of Javascript HackerRank Solution

Node.js module not found error -how to fix it