kevcjones / ngx-simple-modal

A simple unopinionated framework to implement simple modal based behaviour in angular (v2+) projects.
MIT License
52 stars 28 forks source link

Error encountered resolving symbol values statically. - FU node_modules #12

Closed kevcjones-archived closed 6 years ago

kevcjones-archived commented 6 years ago

Had a build error re-emerge.

client?692d:119 Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 194:50 in the original .ts file), resolving symbol NgModule in ...

Initially i thought this was a meta data issue in our code, but i think this comment might be onto something. Its because we have node_modules in the npm package

https://github.com/angular/angular-cli/issues/3707#issuecomment-299612520

This worked... so i'll be thinking about how to do a better npm package that only contains the dist folder files and a modified index / package.json