Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resolving dependencies using npm while installing Bootstrap 4

While installing Bootstrap 4 using npm it show me these errors:

npm WARN [email protected] requires a peer of jquery@>=3.0.0 but none was installed. 
npm WARN [email protected] requires a peer of popper.js@^1.11.0 but none was installed.

I'm using Git Bash, I also tried to install jQuery individually but it couldn't be installed. Can someone help me to fix these issues? Manu thanks

like image 420
Nangialai Stoman Avatar asked Aug 29 '17 18:08

Nangialai Stoman


2 Answers

You'll need to install those dependencies and save them to you package.json

npm install [email protected] --save npm install [email protected] --save

The docs for npm install

like image 154
locrizak Avatar answered Oct 17 '22 07:10

locrizak


just try this as well:

npm install --save @ng-bootstrap/ng-bootstrap

like image 32
shrikant joshi Avatar answered Oct 17 '22 07:10

shrikant joshi