Skip to content

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, #5833

@chinenyem

Description

@chinenyem

Bug 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions