-
Notifications
You must be signed in to change notification settings - Fork 346
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
Uncaught TypeError: Super expression must either be null or a function #410
Comments
How did you use it? |
Hi there, Nice work, slider looks really neat! I am getting this error as well in my console: But the slider itself (I wrapped it in a simple Vuejs component) seems to work fine. No further errors or warnings. My environment: (index.hml) (package.json) (OS) Best regards, Ulfert. |
Same problem here, in an AMD-Environment @NightCatSama When looking at the transpiled source of https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-slider-component.umd.js I stumble across the UMD part
where the Vue-Dependency is missing which might be the reason for this happening, at least in my case. |
@NightCatSama was going to try that out tonight and report back. But my guess would be: it should. But that would mean that your umd-part is broken for amd |
@NightCatSama Yes, as expected, it works perfectly fine when I add "vue" as a dependency manually to the UMD block like this:
|
@dlueth Thanks for your report, this bug is fixed in v3.1.5. https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-slider-component.umd.js |
Thanks! |
This issue still exists |
Issue exists for me in 3.2.15 |
@wizzer129 |
Same problem for me also v3.2.15 |
Same problem here |
Same problem for me also v3.2.15 |
Same here |
I'm running into the same issue in v3.2.15 |
I get the same problem, which seems to be coming from the fact that Since 3.x is expected to support Vue3... Wonder how it works at all 🤔
|
Also having the same issue while trying to use this with Vue 3.2.4 |
@BVBAccelm vue3.x should use the https://github.com/NightCatSama/vue-slider-component#-vue3x |
Having same problem. |
Same issue here with nuxt3 3.1.0 and vue-slider-component version 3.2.24 |
Same with version 3.2.24 |
Same issue. Unusable |
Same with version 3.2.24 |
Same with version 3.2.24 |
It worked after following this installation instruction:
It installed v4.1.0-beta.7. As on the read me, it should be used with caution. |
vue-slider-component doesnot work for the vue 3 version it is incompatible with vue 3. |
@deepareddy-hub So to "resolve the issue" you're suggesting using a different library? |
Yes, because vue-slider-component facing compatibility issues for vue 3 version, so alternative library could help resolve the problem in this case. |
Describe the bug
I am receiving below error on latest version ( to be specific 3.0.2 and above versions)
vue-slider-component.umd.min.js?4971:1820 Uncaught TypeError: Super expression must either be null or a function
at d (vue-slider-component.umd.min.js?4971:1820)
at eval (vue-slider-component.umd.min.js?4971:2065)
at Module.fb15 (vue-slider-component.umd.min.js?4971:2068)
at r (vue-slider-component.umd.min.js?4971:15)
at eval (vue-slider-component.umd.min.js?4971:63)
at eval (vue-slider-component.umd.min.js?4971:65)
at eval (vue-slider-component.umd.min.js?4971:3)
at eval (vue-slider-component.umd.min.js?4971:9)
at Object../node_modules/vue-slider-component/dist/vue-slider-component.umd.min.js (manifest.build.js:3551)
Environment (If you feel unrelated, please delete the block)
The text was updated successfully, but these errors were encountered: