Open valentinbdv opened 7 years ago
I'm having the same issue getting it to compile with AOT. I tried adding a static forRoot() method in module but that didn't seem to help. The other strange thing is that it compiles ok on my dev computer, but fails in my continuous integration build.
The easiest workaround was to just add the node-emojify and @types/node-emojify dependancies then copy the pipe to my app's source
I get this error when I try to compile after following your instructions :
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 NgModule in C:/wamp64/www/WEBAPP/node_modules/angular2-emojify/node_modules/@angular/core/src/metadata/ng_module.d.ts, resolving symbol NgModule in C:/wamp64/www/WEBAPP/node_modules/angular2-emojify/node_modules/@angular/core/src/metadata.d.ts, resolving symbol NgModule in C:/wamp64/www/WEBAPP/node_modules/angular2-emojify/node_modules/@angular/core/src/core.d.ts, resolving symbol NgModule in C:/wamp64/www/WEBAPP/node_modules/angular2-emojify/node_modules/@angular/core/index.d.ts, resolving symbol EmojifyModule in C:/wamp64/www/WEBAPP/node_modules/angular2-emojify/build/src/index.d.ts, resolving symbol EmojifyModule in C:/wamp64/www/WEBAPP/node_modules/angular2-emojify/build/src/index.d.ts
Is it a problem with angular CLI or have I missed something?