ERROR in Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider rep lacing the function or lambda with a reference to an exported function,
See original GitHub issueBug Report or Feature Request (mark with an x
)
when i do ng build i get the following error: getting error ERROR in Error encountered resolving symbol values statically. Calling function ‘makeDecorator’, function calls are not supported. Consider rep lacing the function or lambda with a reference to an exported function,
- [ ] bug report -> please search issues before submitting
I searched everywhere. The problem was originally ChartModule.forRoot(require('highcharts')). using require was throwing an error. then i read some ticket issues and so a solution. the error went away and the charts worked. but then came another error.
- [ ] feature request
Versions.
Repro steps.
The log given by the failure.
ERROR in Error encountered resolving symbol values statically. Calling function ‘makeDecorator’, function calls are not supported. Consider rep lacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /Users/chinenyem/Desktop/learning_sites/ SkyCastWeather/node_modules/angularfire2/node_modules/@angular/core/src/di/metadata.d.ts, resolving symbol Injectable in /Users/chinenyem/Deskt op/learning_sites/SkyCastWeather/node_modules/angularfire2/node_modules/@angular/core/src/di.d.ts, resolving symbol Injectable in /Users/chinen yem/Desktop/learning_sites/SkyCastWeather/node_modules/angularfire2/node_modules/@angular/core/src/core.d.ts, resolving symbol Injectable in /U sers/chinenyem/Desktop/learning_sites/SkyCastWeather/node_modules/angularfire2/node_modules/@angular/core/index.d.ts, resolving symbol AngularF ireAuth in /Users/chinenyem/Desktop/learning_sites/SkyCastWeather/node_modules/angularfire2/auth/auth.d.ts, resolving symbol AngularFireAuth in /Users/chinenyem/Desktop/learning_sites/SkyCastWeather/node_modules/angularfire2/auth/auth.d.ts
ERROR in ./src/main.ts Module not found: Error: Can’t resolve ‘./$$_gendir/app/app.module.ngfactory’ in ‘/Users/chinenyem/Desktop/learning_sites/SkyCastWeather/src’ @ ./src/main.ts 4:0-74 @ multi ./src/main.ts
Desired functionality.
Mention any other details that might be useful.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Angularfire2 was throwing the problem . So I uninstall angularfire2 and reinstall it. I also fixed the high charts issue too.
Thank you, it compiles perfectly now with --dev and --prod
On Wed, Apr 5, 2017 at 4:14 AM Anian Z notifications@github.com wrote:
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.