我正在使用 ng-inline-svg (最新版本,即10.0.0),并且尝试将库与常春藤迁移到 angular 9 。由于更新了角度版本,因此出现以下错误:
May 27 16:20:58 ... gnome-session[1902]: 27/05/2020 16:20:58 s18615199.onlinehome-server.com
May 27 16:20:58 ... gnome-session[1902]: 27/05/2020 16:20:58 163.53.196.238
May 27 16:20:58 ... gnome-session[1902]: 27/05/2020 16:20:58 ip-112-26.4vendeta.com
May 27 16:20:58 ... gnome-session[1902]: 27/05/2020 16:20:58 zanagaqwe2.example.com
May 27 16:20:58 ... gnome-session[1902]: 27/05/2020 16:20:58 ip196.ip-51-83-216.eu
May 27 16:20:58 ... gnome-session[1902]: 27/05/2020 16:20:58 163.53.196.238
May 27 16:20:58 ... gnome-session[1902]: 27/05/2020 16:20:58 ip-112-26.4vendeta.com
我已在ERROR in Symbol InlineSVGModule declared in C:/git/XXX/node_modules/ng-inline-svg/lib_commonjs/inline-svg.module.d.ts is not exported from ng-inline-svg (import into C:/git/XXX/src/app/app.module.ts)
中导入了嵌入式svg模块,如下所示:
app.module.ts
有人可以帮忙吗?
编辑:请注意,在 aot
中构建时会发生这种情况