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

后端 未结 10 1840
天命终不由人
天命终不由人 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:41

    Just do as it says:

    npm i jquery@1.9.1 --save
    

    the option --save is to save this dependency to your project.

提交回复
热议问题