I’m using mongodb-stitch-browser-sdk 4.8.0.
I’m simply trying to import Stitch using this code…
import { Stitch } from ‘mongodb-stitch-browser-sdk’;
…and I get this error:
searchParams: ‘URLSearchParams’ in self,
ReferenceError: self is not defined
So this means the Stitch module won’t even load.
I’ve already tried using older versions of mongodb-stitch-browser-sdk.
Same error keeps coming up.
Are there any workarounds for this?
Thanks.