17

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

1
  • No, I recant my previous statement. Commented Aug 29, 2017 at 19:19

2 Answers 2

30

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

Sign up to request clarification or add additional context in comments.

Comments

2

just try this as well:

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.