-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Getting error while using utilsScript #1618
Comments
What version of the plugin are you using? |
I'm using v23.0.4 |
Hmm that's strange. Do you see the same issue on the demo site? |
No, I don't see that error on the demo site. Can I use |
You can if you don't mind the filesize, as the utils script is aprx 260kb. Or if you want to try and figure out this issue, it would help if you could find the minimal set of code that reproduces the problem and put that in a CodePen, so I can take a look. Here is an example pen with the plugin up and running - feel free to fork this if it helps. |
Thank you for your help, the issue has been resolved. It appears that the utils file was being included as a script tag as well. I was attempting to integrate this with Django, and there was a slight configuration issue, which caused the error to occur. |
Plugin version
v23.0.4
Expected behaviour
No errors should be there
Actual behaviour
Getting the following errors in browser console:
Brave Version 1.65.132 Chromium: 124.0.6367.202
Firefox 125.0.3
Initialisation options
I am not using webpack or any other bundler, I am using vanilla JavaScript and specifying the
utilsScript
as follows:Here's the script for reference:
Comments
Should I include utils script in a different way in my project?
The text was updated successfully, but these errors were encountered: