Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling function 'ɵmakeDecorator', function calls are not supported. #59

Open
bnettles opened this issue Oct 5, 2017 · 0 comments
Open

Comments

@bnettles
Copy link

bnettles commented Oct 5, 2017

installed using this command. npm install angular2-google-chart
I am on a mac using angular-cli
Once I update app.module.ts with the import statement and the addition to the imports area, I get the stack trace below when I invoke npm start

import { GoogleChart } from 'angular2-google-chart/directives/angular2-google-chart.directive';

imports: [
BrowserModule,
HttpModule,
GoogleChart,

ERROR in Error: 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 Directive in /Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/angular2-google-chart/node_modules/@angular/core/core.d.ts, resolving symbol GoogleChart in /Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/angular2-google-chart/directives/angular2-google-chart.directive.ts, resolving symbol GoogleChart in /Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/angular2-google-chart/directives/angular2-google-chart.directive.ts
at Error (native)
at syntaxError (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler/bundles/compiler.umd.js:1729:34)
at simplifyInContext (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler/bundles/compiler.umd.js:25118:23)
at StaticReflector.simplify (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler/bundles/compiler.umd.js:25130:13)
at StaticReflector.annotations (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler/bundles/compiler.umd.js:24558:41)
at _getNgModuleMetadata (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler-cli/src/ngtools_impl.js:138:31)
at _extractLazyRoutesFromStaticModule (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler-cli/src/ngtools_impl.js:109:26)
at /Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27
at Array.reduce (native)
at _extractLazyRoutesFromStaticModule (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)
at Object.listLazyRoutesOfModule (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler-cli/src/ngtools_impl.js:53:22)
at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)
at AotPlugin._getLazyRoutesFromNgtools (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@ngtools/webpack/src/plugin.js:207:44)
at _donePromise.Promise.resolve.then.then.then.then.then (/Users/briannettles/Desktop/Websites/sites/rockiestocumorah/src/r2csoftware/node_modules/@ngtools/webpack/src/plugin.js:443:24)
at process._tickCallback (internal/process/next_tick.js:109:7)

webpack: Failed to compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant