gpt4 book ai didi

angular - “默认”是从外部模块 'rollup' 导入的,但从未使用过

转载 作者:太空狗 更新时间:2023-10-29 18:31:16 25 4
gpt4 key购买 nike

我想通过 AOT 运行我的项目。为了测试,我根据 this 启动快速启动项目一步步。以下命令生成 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

有什么问题?

提前致谢。

最佳答案

尝试注释掉第一行

import rollup from 'rollup'

关于angular - “默认”是从外部模块 'rollup' 导入的,但从未使用过,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43871525/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com