S
SolidJS4mo ago
Misery

`ReferenceError: jQuery is not defined`

When I try to reload my page sometimes I get this error:
ReferenceError: jQuery is not defined
ReferenceError: jQuery is not defined
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?
No description
No description
6 Replies
lxsmnsyc
lxsmnsyc4mo ago
there's two reasons: - this runs on SSR - jQuery is definitely missing
Misery
MiseryOP4mo ago
do i install jquery into my package json here?
Madaxen86
Madaxen864mo ago
Do you have any package installed that uses jquery? A solid app does not have jquery as a dependency.
Misery
MiseryOP4mo ago
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 nothing
Misery
MiseryOP4mo ago
i did some digging and found out that the error originates from an extension, nothing wrong with my solid app i believe
No description
Want results from more Discord servers?
Add your server