npm WARN bootstrap@4.2.1 requires a peer of jquery@1.9.1 - 3 but none is installed

后端 未结 10 1836
天命终不由人
天命终不由人 2021-02-03 21:11

I tried to install bootstrap in my Angular Project by

npm install --g bootstrap

but i am getting following warning

n

10条回答
  •  一生所求
    2021-02-03 21:20

    If you are using Angular, you don't need those dependencies of jquery etc. Angular is responsible for rendering and manipulating the DOM and if you’re interfering with it using jQuery, you might get some unwanted results.

提交回复
热议问题