'默认'从外部模块导入'汇总'但从未使用过

时间:2017-05-09 13:42:46

标签: angular

我想通过AOT运行我的项目。对于测试,我按照this逐步启动quickstart项目。 下面命令后生成了aot文件夹。

"node_modules/.bin/ngc" -p tsconfig-aot.json

但是在汇总命令之后:

"node_modules/.bin/rollup"  -c rollup-config.js

出现此错误:

'default' is imported from external module 'rollup' but never used

什么是问题?

提前致谢。

1 个答案:

答案 0 :(得分:2)

尝试评论第一行

int readln(char *s, int maxlen)