ngSemantic: AoT compilation fails with ngSemantic
Hello,
first of all, thank you for a great and helpful job done!
I am trying to compile app for AoT according to the following official guide https://angular.io/docs/ts/latest/cookbook/aot-compiler.html with ngSemantic installed and configured according to your guide.
All works fine in dev mode.
The following issue raises when I do AoT compilation:
Error: Unexpected value 'NgSemanticModule' imported by the module 'AppModule'
at /Users/*****/*****/******/node_modules/@angular/compiler/bundles/compiler.umd.js:14126:37
at Array.forEach (native)
at CompileMetadataResolver.getNgModuleMetadata (/Users/*****/*****/******/node_modules/@angular/compiler/bundles/compiler.umd.js:14111:46)
at /Users/*****/*****/******/node_modules/@angular/compiler/bundles/compiler.umd.js:12952:58
at Array.forEach (native)
at OfflineCompiler.analyzeModules (/Users/*****/*****/******/node_modules/@angular/compiler/bundles/compiler.umd.js:12951:21)
at CodeGenerator.codegen (/Users/*****/*****/******/node_modules/@angular/compiler-cli/src/codegen.js:105:47)
at codegen (/Users/*****/*****/******/node_modules/@angular/compiler-cli/src/main.js:7:81)
at Object.main (/Users/*****/*****/******/node_modules/@angular/tsc-wrapped/src/main.js:30:16)
at Object.<anonymous> (/Users/*****/*****/******/node_modules/@angular/compiler-cli/src/main.js:14:9)
Compilation failed
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 8
- Comments: 19 (2 by maintainers)
Yeah, So you are going to look into it?
Is this issue going to be fixed. I have put in lot of efforts in my app with this plugin. It would be great if this issue is fixed.
I am also getting the same. @vladotesanovic You got any solution?
You could look at a similar alternative library which works with aot and doesn’t use jquery. https://edcarroll.github.io/ng2-semantic-ui/
That didn’t work for me, @gobeli
Getting errors like
Property 'isInsideForm' is private and only accessible within class 'SemanticInputComponent'.
Don’t write +1 please, there is a github feature for that 😉