`ReferenceError: jQuery is not defined`
When I try to reload my page sometimes I get this error:
I also get this error in the console, but the error shows in the console all of the time whereas it sometimes shows up in the dom
Can someone help?
6 Replies
there's two reasons:
- this runs on SSR
- jQuery is definitely missing
do i install jquery into my package json here?
Do you have any package installed that uses jquery?
A solid app does not have jquery as a dependency.
it says here:
To use clientOnly
, isolate the desired component with DOM interactions in a file:
but i dont know what component to isolate
i use bun, so i checked my lock file for jquery and got nothingi did some digging and found out that the error originates from an extension, nothing wrong with my solid app i believe