opdahlmann / ng2-opd-popup-sample

4 stars 13 forks source link

Issue while after ng serve run #12

Open afsar-infobeans opened 7 years ago

afsar-infobeans commented 7 years ago

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 C:/project-dir/node_modules/ng2-opd-popup/node_modules/@angular/core/src/metadata/ng_module.d.ts, resolving symbol NgModule in C:/project-dir/node_modules/ng2-opd-popup/node_modules/@angular/core/src/metadata.d.ts, resolving symbol NgModule in C:/project-dir/ng2-opd-popup/node_modules/@angular/core/src/core.d.ts, resolving symbol NgModule in C:/project-dir/node_modules/ng2-opd-popup/node_modules/@angular/core/index.d.ts, resolving symbol PopupModule in C:/project-dir/node_modules/ng2-opd-popup/components/popup/popup.module.d.ts, resolving symbol PopupModule in C:/project-dir/node_modules/ng2-opd-popup/components/popup/popup.module.d.ts

dynamiccarrots commented 7 years ago

Having the same issue here

HazemAhmed95 commented 7 years ago

Specifying paths to @angular inside AngularCLI’s tsconfig.json solved for me.

"paths": { "@angular/*": ["../node_modules/@angular/*"] }