ng2-fancy-image-uploader
ng2-fancy-image-uploader copied to clipboard
Support Angular 6
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.
Hello, I am going to rename this lib starting with the next release which will support Angular 6. Stay tuned!
Same problem https://stackoverflow.com/questions/48926322/cannot-redeclare-block-scoped-variable-ngdevmode
@ogix any updates on ng6 support?
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 :-)
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!