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
Error: 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 projectdir/node_modules/ngx-color-picker/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol OpaqueToken in projectdir/node_modules/ngx-color-picker/node_modules/@angular/core/src/di/opaque_token.d.ts, resolving symbol OpaqueToken in projectdir/node_modules/ngx-color-picker/node_modules/@angular/core/src/di/opaque_token.d.ts
at SyntaxError.BaseError [as constructor] (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:1597:31)
at new SyntaxError (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:1795:20)
at simplifyInContext (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:25783:27)
at StaticReflector.simplify (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:25795:17)
at StaticReflector.annotations (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:25291:64)
at NgModuleResolver.resolve (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:17771:86)
at CompileMetadataResolver.getNgModuleMetadata (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:18272:64)
at addNgModule (projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:25053:62)
at projectdir/node_modules/@angular/compiler/bundles/compiler.umd.js:25064:18
at Array.forEach (native)
Compilation failed
The text was updated successfully, but these errors were encountered:
Why would you be using umd bundle with AoT? Afaik umd bundles are usually for systemJS etc. For AOT you need the metadata files which are not provided by umd bundle directory. So for AOT build you should use the library from the lib directory.
See Alberplz/angular2-color-picker#72 (comment)
The text was updated successfully, but these errors were encountered: