I'm using a CSS library that requires me to add a script tag to the bottom of my page.…
- User
I'm using a CSS library that requires me to add a script tag to the bottom of my page. I'm using Vue routing, however, and I can't add a new script tag because one is already in there. Upon finding a workaround, it seems I'm getting this error: Uncaught SyntaxError: Identifier '_classCallCheck' has already been declared (at bux.min.js:6:7152). What might be wrong with my Vue/Vite setup?
- Assistant
The error message suggests that there is a conflict with the script that was added using the workaround. It seems that the script you are trying to add is defining the identifier
_classCallCheck, but it is already declared somewhere else in your application.This issue could be caused by a couple of different scenarios: