Hi There I am trying to run app I downloaded without modifying and when run angular app, I got following error.
Uncaught Error: Unexpected value 'AbpModule' imported by the module 'AppModule'. Please add a @NgModule annotation. at syntaxError (compiler.es5.js:1694) at eval (compiler.es5.js:15398) at Array.forEach (<anonymous>) at CompileMetadataResolver.getNgModuleMetadata (compiler.es5.js:15381) at CompileMetadataResolver.getNgModuleSummary (compiler.es5.js:15323) at eval (compiler.es5.js:15396) at Array.forEach (<anonymous>) at CompileMetadataResolver.getNgModuleMetadata (compiler.es5.js:15381) at JitCompiler._loadModules (compiler.es5.js:26826) at JitCompiler._compileModuleAndComponents (compiler.es5.js:26799)
Clearly it is asking to import ngModel but not sure where that import needed. Thanks
4 Answer(s)
-
0
Hi @buddhit,
When was the last time you downloaded it? (which version also I mean)
-
0
Hi @buddhit,
Probably you need to update abp-ng2-module. Which version of Angular you are using ?
-
0
I was on V5.0.0. Now I downloaded V5.0.2 it is working fine. Thank you guys.
-
0
Great :)