vuejs-toggle-switch
vuejs-toggle-switch copied to clipboard
Cannot read property of undefined
Expected Behavior
Imports ToggleSwitch vue component
Actual Behavior
run dev works successfully, but open the vue app in browser crashes with
Uncaught TypeError: Cannot read properties of undefined (reading 'call')
at t (ToggleSwitch.common.js:4161:1)
at ToggleSwitch.common.js:4265:1
at ToggleSwitch.common.js:4658:1
at Object.
Steps to Reproduce the Problem
- npm run dev 2.open browser on dev server :8082 3.white page - find above error in browser console
Specifications
- "vuejs-toggle-switch": "^1.3.1" 2."webpack": "^1.13.2", 3."vue": "2.5.22",
This issue starts around the time you published new version 1.3.4.
We tried with your new version 1.3.4 and got this issue in console
Uncaught SyntaxError: Cannot use import statement outside a module
at Object.
What might be changed on the old version 1.3.1?
I am also facing the same issue but with 1.3.1 version as well.
Can you upgrade to the latest version (2.0.0)? and retest?
I have the same issue with 2.0.0 version.
Facing the same issue. I'm on the latest version(2.0.0). Has anyone found a solution?
@larsmars Could you kindly provide some feedback on this bug?
Rolled back to version 1.3.1 and I no longer get the bug.
This should now be updated on latest release (for Vue 3). Please report back if there is still a problem 😃