安装Bootstrap 4时使用npm解析依赖关系

Nan*_*man 16 npm twitter-bootstrap bootstrap-4

使用npm它安装Bootstrap 4 时显示以下错误:

npm WARN bootstrap@4.0.0-beta requires a peer of jquery@>=3.0.0 but none was installed. 
npm WARN bootstrap@4.0.0-beta requires a peer of popper.js@^1.11.0 but none was installed.
Run Code Online (Sandbox Code Playgroud)

我正在使用Git Bash,我也尝试单独安装jQuery,但无法安装.你能帮我解决一下这些问题吗?

loc*_*zak 28

您需要安装这些依赖项并将其保存到您 package.json

npm install jquery@3.0.0 --save npm install popper.js@1.11.0 --save

该文档npm install