无法呈现Reactjs-boostrap弹出窗口

问题描述

我安装了以下软件包:

print(next(len(set(list(x))) if 1<=int(x)<=25000 else "Number should be >=1 and <=25000" for x in [input()]))

我正在尝试使用提供的示例here添加一个弹出窗口。

这是确切的代码:

npm install --save react-bootstrap bootstrap

但是它根本不起作用。我在控制台中看不到任何错误。而且弹出窗口完全不呈现。我想念什么?

解决方法

可能您只需要npm install react-bootstrap bootstrap。您建议的文档中也提到了这一点。

摘自this文章

Before npm 5.0.0,it was necessary to add --save after package name because it 
will save the installed package to package.json file in the dependency section. 
If you are using a recent version of npm save yourself from unnecessary typing 
and use npm install [Package Name] instead of npm install [Package Name] --save 
by default it will add the installed package to the dependency list in the 
package.json file.

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...