What does this Angular error mean?

I am trying to upgrade my app from Angular v2 to v4 and I am using AOT compilation. Can someone please explain how to resolve this error, which does not identify my own code (Angular only).

Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /project/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /project/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /project/node_modules/@angular/core/core.d.ts

I know I haven't used lambdas etc. and my code was compiling to v2, so I guess this is not a problem.

+3


source to share


1 answer


Try reinstalling ngc .



$ npm install ngc 

      

0


source







All Articles