You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
INFO: Analyzed target //src/web/apps/debug:devserver (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: Writing explanation of rebuilds to 'build/logs'
ERROR: /mnt/data/git/LogiOcean/src/web/components/basic/qrcode/BUILD:1:1: Compiling Angular templates (ngtsc) //src/web/components/basic/qrcode:qrcode failed (Exit 1)
external/npm/node_modules/@angular/common/common.d.ts(115,22): error TS-996002: Appears in the NgModule.imports of QrcodeModule, but could not be resolved to an NgModule class
Target //src/web/apps/debug:devserver failed to build
ERROR: /mnt/data/git/LogiOcean/src/web/apps/debug/BUILD:44:1 Compiling Angular templates (ngtsc) //src/web/components/basic/qrcode:qrcode failed (Exit 1)
INFO: Elapsed time: 7.226s, Critical Path: 6.73s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
For the record, the above code compiles just fine without AOT.
Most of the issues have the TS-996002 string in it. Looks like this is an Angular issue, not ours. Would like some confirmation or explanation here.
Moreover, I do not see any formal documentation on the best way to enable Ivy in Bazel. I found --define=compile=aot by digging the source code in Angular's Bazel .bzl files. But I do not know if that is the way to go. Would like to understand better.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Using Angular
8.2.0-next.2
.Enabling
--define=compile=aot
(Ivy) inbazel build
fails. The relevant source codes are:The error message:
For the record, the above code compiles just fine without AOT.
I searched around and found many similar issues:
angular/angular#31616
angular/angular#31629
angular/angular#31785
(many more omitted here for brevity)
Most of the issues have the
TS-996002
string in it. Looks like this is an Angular issue, not ours. Would like some confirmation or explanation here.Moreover, I do not see any formal documentation on the best way to enable Ivy in Bazel. I found
--define=compile=aot
by digging the source code in Angular's Bazel .bzl files. But I do not know if that is the way to go. Would like to understand better.Thanks in advance.
The text was updated successfully, but these errors were encountered: