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

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

    I have resolved jQuery dependency with following steps in my react development project

    npm install react-bootstrap bootstrap --save
    npm audit fix --force
    

    Result: found 0 vulnerabilities

    It also fixes the issue, if another dependency is having issues.

提交回复
热议问题