zefoy / ngx-dropzone-wrapper

Angular wrapper library for Dropzone
MIT License
174 stars 51 forks source link

New 5.6.0 version of dropzone causing build errors with all versions of ngx-dropzone-wrapper #141

Open Endellur opened 4 years ago

Endellur commented 4 years ago

Getting errors in ng7 when building using -prod

ERROR in ./node_modules/ngx-dropzone-wrapper/dist/ngx-dropzone-wrapper.es5.js Module not found: Error: Can't resolve 'dropzone' in '..../node_modules/ngx-dropzone-wrapper/dist'

I have tested versions 6.0.0, 7.2.1 and 9.0.0

carrilhoandre commented 4 years ago

I have the same problem... any update?

Endellur commented 4 years ago

I found if you add dropzone 5.5.1 to your project package.json it will work.

carrilhoandre commented 4 years ago

I found if u update @angular-devkit/build-angular in packages.json

"devDependencies": { "@angular-devkit/build-angular": "~0.803.20" }