rowanwins / vue-dropzone

A Vue.js component for Dropzone.js - a drag’n’drop file uploads utility with image previews
https://rowanwins.github.io/vue-dropzone/docs/dist
MIT License
2.02k stars 1.4k forks source link

Uncaught TypeError: Cannot set property 'dropzone' of undefined #575

Open mcanto opened 4 years ago

mcanto commented 4 years ago

Hi guys!

I'm having this issue while loading the component. I've followed all examples and docs and although I have the exact same configuration it is still not working.

Uncaught TypeError: Cannot set property 'dropzone' of undefined at eval (vue2Dropzone.js?2af3:1) at eval (vue2Dropzone.js?2af3:1) at eval (vue2Dropzone.js?2af3:1) at eval (vue2Dropzone.js?2af3:1) at Object../node_modules/vue2-dropzone/dist/vue2Dropzone.js (app.js:14291) at __webpack_require__ (app.js:708) at fn (app.js:113) at eval (selector.js?type=script&index=0!./src/components/common/FileUploader.vue:5) at Object../node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/common/FileUploader.vue (app.js:7648) at __webpack_require__ (app.js:708)

Safari output could be helpful:

TypeError: undefined is not an object (evaluating 'jQuery.fn.dropzone=function(e){return this.each(function(){return new o(this,e)})}')

vue2-dropzone@3.6.0 dropzone@5.7.2

Any advice?