Open panduNaresh opened 7 years ago
Same issue
Clone the project, run npm install and ng serve and you're going to get this issue.
I have the same issue is there any fix for this ?
same error :/ any help
Just go inside your ng2-opd-popup folder and delete the node_modules folder, it should fix the issue.
doesn't work
Specifying paths to @angular inside AngularCLI’s tsconfig.json solved for me.
"paths": { "@angular/*": ["../node_modules/@angular/*"] }
I did 2 things advised here (Angular 4 app by the way):
Next to that did a bunch of other things ..... updated my @angular modules (npm install @angular/xxx).
So it could be a combined solution, but the last thing I did was deleting the node_modules subdir and after that my ng build
worked. Hope this helps somehow.
HazemAhmed95 's suggestion is working for my case. Thanks!
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:/Users/HOME/my-first-app/node_modules/ng2-opd-popup/node_modules/@angular/core/src/metadata/ng_module.d.ts, resolving symbol NgModule in C:/Users/HOME/my-first-app/node_modules/ng2-opd-popup/node_modules/@angular/core/src/metadata.d.ts, resolving symbol NgModule in C:/Users/HOME/my-first-app/node_modules/ng2-opd-popup/node_modules/@angular/core/src/core.d.ts, resolving symbol NgModule in C:/Users/HOME/my-first-app/node_modules/ng2-opd-popup/node_modules/@angular/core/index.d.ts, resolving symbol PopupModule in C:/Users/HOME/my-first-app/node_modules/ng2-opd-popup/components/popup/popup.module.d.ts, resolving symbol PopupModule in C:/Users/HOME/my-first-app/node_modules/ng2-opd-popup/components/popup/popup.module.d.ts