当 Ivy 渲染器使用 Angular 8 启用时,@swimlane/ngx-datatable 抛出错误。
用 15.0.0 更新了 @swimlane/ngx-datatable 包,还尝试了一些补丁 'git+ https://github.com/zackarychapple/ngx-datatable.git '
包.json
选项1:
"dependencies": {
....
"@swimlane/ngx-datatable": "git+https://github.com/zackarychapple/ngx-datatable.git",
...
}
选项 2:
"dependencies": {
....
"@swimlane/ngx-datatable": "15.0.0",
...
}
错误在“/Users/omnimac/work/engage3/mywld-shopper-webapp.cip-v2/lighthouse/node_modules/@swimlane/ngx-datatable”入口点中没有带有导入语句的格式。