pqina / vue-filepond

🔌 A handy FilePond adapter component for Vue
https://pqina.nl/filepond
MIT License
1.92k stars 128 forks source link

TypeError: (0 , _vue.h) is not a function #208

Closed ezawadzki closed 3 years ago

ezawadzki commented 3 years ago

Describe the bug Just follow the basic installation and code in Readme.

Logs

TypeError: (0 , _vue.h) is not a function
    at Proxy.render (vue-filepond.js:96)
    at VueComponent.Vue._render (vue.runtime.esm.js:3548)
    at VueComponent.updateComponent (vue.runtime.esm.js:4066)
    at Watcher.get (vue.runtime.esm.js:4479)
    at new Watcher (vue.runtime.esm.js:4468)
    at mountComponent (vue.runtime.esm.js:4073)
    at VueComponent.push../node_modules/vue/dist/vue.runtime.esm.js.Vue.$mount (vue.runtime.esm.js:8415)
    at init (vue.runtime.esm.js:3118)
    at createComponent (vue.runtime.esm.js:5978)
    at createElm (vue.runtime.esm.js:5925)

Information about your project: "filepond": "^4.28.2", "vue-filepond": "^6.0.3", "filepond-plugin-file-validate-type": "^1.2.6", "filepond-plugin-image-preview": "^4.6.7", "vue": "2.6.11",

I tried to install vue-filepond@^6.0.0, but it installed me the 6.0.3 version.

rozaorenda commented 3 years ago

I have the same problem

rozaorenda commented 3 years ago

Try 'vue-filepond' on 6.0.0 version. It worked for me.

rikschennink commented 3 years ago

It looks like you somehow got v7 of the plugin, maybe npm uninstall and then reinstall the v6 version.

ezawadzki commented 3 years ago

Thanks @rozaorenda and @rikschennink. But I had to use another plugin due to my deadline. But good to know for next time !