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 was archived by the owner on Jan 6, 2025. It is now read-only.
Getting an error when using the library in my project. Just running ng build and getting an error:
c:\Project>ng build
10% building modules 2/2 modules 0 activeError encountered resolving symbol val
ues statically. Function calls are not supported. Consider replacing the functio
n or lambda with a reference to an exported function, resolving symbol AppModule
in c:/Project/src/app/app.module.ts, resolving symbol AppM
odule in c:/Project/src/app/app.module.ts
Error: Error encountered resolving symbol values statically. Function calls are
not supported. Consider replacing the function or lambda with a reference to an
exported function, resolving symbol AppModule in c:/Project
/src/app/app.module.ts, resolving symbol AppModule in c:/Project/src/app/app.module.ts
at simplifyInContext (c:\Project\node_modules\@angular\
compiler-cli\src\static_reflector.js:475:23)
at StaticReflector.simplify (c:\Project\node_modules\@a
ngular\compiler-cli\src\static_reflector.js:478:22)
at StaticReflector.annotations (c:\Project\node_modules
\@angular\compiler-cli\src\static_reflector.js:60:36)
at AotPlugin.getNgModuleMetadata (c:\Project\node_modul
es\@ngtools\webpack\src\plugin.js:330:41)
at AotPlugin._processNgModule (c:\Project\node_modules\
@ngtools\webpack\src\plugin.js:271:42)
at c:\Project\node_modules\@ngtools\webpack\src\plugin.
js:242:39
at process._tickCallback (internal/process/next_tick.js:103:7)
I can pass the build if just put a comment on FlexLayoutModule.forRoot()
Angular 2.2.3
node 6.9.2
npm 4.0.3
Windows 7 Pro x64
UPDATE 0:
I was being producing the lib using both gulp build:components and gulp build:release but still has the same outcome once I put it it in my project. UPDATE 1:
I can see you are relying on Anglar "^2.2.4" which is my project is relying on version 2.2.3 is there anyting in 2.2.4 that you rely on, which is not in 2.2.3 ? UPDATE 2:
Just updated the project to angular 2.2.4 but didn't help.
Getting an error when using the library in my project. Just running
ng buildand getting an error:I can pass the build if just put a comment on
FlexLayoutModule.forRoot()Angular 2.2.3
node 6.9.2
npm 4.0.3
Windows 7 Pro x64
UPDATE 0:
I was being producing the lib using both
gulp build:componentsandgulp build:releasebut still has the same outcome once I put it it in my project.UPDATE 1:
I can see you are relying on Anglar
"^2.2.4"which is my project is relying on version2.2.3is there anyting in2.2.4that you rely on, which is not in2.2.3?UPDATE 2:
Just updated the project to angular
2.2.4but didn't help.