I tried to install bootstrap in my Angular Project by
npm install --g bootstrap
but i am getting following warning
n
This worked for me -
npm i -g npm@3.10.10
In your package.json file search for "dependencies" and editing it to show as
"dependencies": {
//same lib
"jquery": "^1.9.1",
},
or run this command from cmd
npm i jquery@1.9.1 --save
Just do as it says:
npm i jquery@1.9.1 --save
the option --save is to save this dependency to your project.
I had the same problem and this is the solution:
npm install bootstrap jquery popper.js --save
The system automatically resolves the references for you.