Open tiloreboucas opened 7 years ago
Getting same thing.
Me too. Need an answer :)
Me too
Me too²
update typescript to latest version.. it works for me
Adding the following line in tsconfig.json compilerOptions fixed the issue for me.
"paths": { "@angular/*": ["../node_modules/@angular/*"] }
Please check more in https://github.com/angular/angular-cli/issues/3854#issuecomment-274344771 and https://github.com/angular/angular-cli/issues/3854#issuecomment-299109237
@nsjithin solution worked for me too, but... what exactly it means? What if it has any side effects? Wel... I will keep my eyes open :-)
@nsjithin Thanks for solution!
@nsjithin , i don't have the building error anymore after apply your code. but while view the app in broswer, i got the following error: Unexpected value 'Ng2InputMaskModule' imported by the module 'AppModule'. Please add a @NgModule annotation.
does this control works for angular 4 app? or it'snot version related. thanks~
The @nsjithin's solution works for me as well.
ERROR in 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 /node_modules/ng2-input-mask/node_modules/@angular/core/src/metadata/ng_module.d.ts, resolving symbol NgModule in /node_modules/ng2-input-mask/node_modules/@angular/core/src/metadata.d.ts, resolving symbol NgModule in /node_modules/ng2-input-mask/node_modules/@angular/core/src/core.d.ts, resolving symbol NgModule in /node_modules/ng2-input-mask/node_modules/@angular/core/index.d.ts, resolving symbol Ng2InputMaskModule in /node_modules/ng2-input-mask/module/ng2-input-mask.module.ts, resolving symbol Ng2InputMaskModule in /node_modules/ng2-input-mask/module/ng2-input-mask.module.ts