-
Notifications
You must be signed in to change notification settings - Fork 34
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
Support for Angular 6 and RxJS 6 #14
Comments
same problem |
@mlc-mlapis @Lokis2009 Ok, I've published the fix under v2.0.7 |
@rafaesc ... thanks for that but there is still some problem ... especially using /ng2-konva/lib/components/core-shape.component.d.ts
/ng2-konva/lib/components/stage.component.d.ts
ng2-konva/lib/ko.interface.d.ts
|
@mlc-mlapis yes, you are right, I have updated the package Try to upgrade to version 6.0.0 of |
After upgrade to angular 6 and ng2-konva 6.0.0. when i build app in --prod mode having error : main.e2e12942f5429c9609d8.js:1 ERROR ReferenceError: Konva is not defined there is no problem, when i use simple ng serve ((( |
@rafaesc ... I apologize, I did the successful tests with 6.0.0 - but I just forget to report it immediately back. |
@Lokis2009 ... because it's AOT compilation. Sounds strange |
Did @Lokis2009 try to install konva? Because it's a dependency |
Thanks @mlc-mlapis |
@mlc-mlapis @rafaesc |
@Lokis2009 ... and the problem appears during compilation or in run-time? |
@mlc-mlapis it compiles successfully, i get error when i try to use konva in component. |
@Lokis2009 Can you send a repo with this issue? |
Same problem here guys |
Same problem ... 'Konva is not defined' after building. |
|
Solved it also with: import * as Konva from 'konva/konva'; |
I'm having the same I had to modify the suggested Does anyone have another suggestion for how to get Kona to build properly with Angular 7 and AOT enabled? Thanks Tom |
Hi,
because RxJS 6 (and Angular 6 uses RxJS 6) changed syntax for imports of all observables from ...
import { Observable } from 'rxjs/Observable';
to ...import { Observable } from 'rxjs';
... it is now a problem to correctly useng2-konva
with it.Do you think is it possible to publish release 1.0 which would be fully compatible with Angular 6?
There should be just one change I think ... and it is exactly related to the import of
Observable
...import { Observable } from 'rxjs/Observable';
should be changed toimport { Observable } from 'rxjs'
;I would be great if you can do it. Thanks.
The text was updated successfully, but these errors were encountered: