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

Support Angular 6 #19

Open
clemstoquart opened this issue May 30, 2018 · 5 comments
Open

Support Angular 6 #19

clemstoquart opened this issue May 30, 2018 · 5 comments

Comments

@clemstoquart
Copy link

clemstoquart commented May 30, 2018

Hello,

ng2-fancy-image-uploader currently doesn't work with Angular 6+. Probably because ng2-fancy-image-uploader brings its own @angular/core version which conflicts with the project one.

ERROR in node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.
node_modules/ng2-fancy-image-uploader/node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.

Have a nice day.

@ogix
Copy link
Owner

ogix commented Jun 2, 2018

Hello, I am going to rename this lib starting with the next release which will support Angular 6. Stay tuned!

@rmasgutov
Copy link

@kodeine
Copy link

kodeine commented Jul 10, 2018

@ogix any updates on ng6 support?

@ogix
Copy link
Owner

ogix commented Jul 11, 2018

Hi, sorry for such delay I've been very busy lately. It is still in progress but almost ready. Glad that you are asking it will motivate me to finish faster :-)

@ogix
Copy link
Owner

ogix commented Jul 21, 2018

I have good news! A new version is ready but in a new package called ngx-image-uploader, you will find the repo here: https://github.com/ogix/ngx-image-uploader.
Be aware that there are some breaking changes. Mainly namings were changed like onUpload -> upload, upload -> uploadImage, "Fancy" prefix removed.
I will change readme file of this repo a bit later..
Good luck!

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

4 participants