【发布时间】:2019-06-05 20:59:06
【问题描述】:
当我使用 ng build 构建 dist 文件夹时,节点模块中显示 agggrid 的错误。
错误 node_modules/ag-grid-community/dist/lib/gridOptionsWrapper.d.ts(133,46): 错误 TS1110:预期类型。
【问题讨论】:
-
你在根目录哪里运行
ng build --prod?? -
@Patricio no not in root 与我执行 npm start 的位置相同
-
那个适合你的地方是什么?
-
C:\Users\MU250046\Desktop\Final Code cs\service_analytics_mvp-cs>
-
@Patrico 这个地方在 cli 项目里面