-
Notifications
You must be signed in to change notification settings - Fork 573
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
ng2-charts does not work with Angular 2.beta12 (due to @View()) #100
Comments
So I see that an hour before I submitted this issue, ng2-charts was changed and all reverences to @view were removed. I downloaded the new version, via |
it depends on how are you consuming ng2-charts |
I am using system.js but it probably be helpful to know how to use both, system.js and webpack |
the things is, you can sonsume .js or .ts |
This is what my modified system.config looks like: Yet, I am still getting an error
|
@devangvt I have just updated ng2-bootstrap to beta.12 |
/node_modules/ng2-charts/components/charts/charts.ts (2, 14): Module '"/node_modules/angular2/core"' has no exported mng 'View'. Just updated to beta.13, running into what appears to be the same or similar problem. |
@devangvt no, I didn't solve it. I just stopped using ng2-charts. |
Same issue here with ng2-charts 1.0.0-beta.0 and angular2.0.0-beta.14, i will have to install from repository, there's a commit to fix this just that isn't released to npm yet: Remove Reference to 'View' @valorkin I didn't know it was so easy to install from repo, i always tough i had to use the git url, thanks: #100 (comment) |
Ok using npm package from git repo now shows in webpack |
Can this get bumped to beta 14 and have a tag cut please. Trying to use this. |
@valorkin do you know how to npm install from the dev branch? i would like to test this to see if this fixes some issues i have with the beta.0 release. |
@Luchillo |
@zackarychapple it is published to npm |
It seems that in beta 12 Google removed @view directive from angular2/core. When I run TypeScript transpiler, it generates an error.
Unable to compile TypeScript
node_modules\ng2-charts\components\charts\charts.ts (2,14): Module '"C:...node_modules/angular2/core"' has no exported member 'View'.
2305)
The text was updated successfully, but these errors were encountered: