Next.js Discord

Discord Forum

Is it expected to not work on 5 years old phone?

Answered
perchun posted this in #help-forum
Open in Discord
Avatar
just got an email from sentry with ReferenceError: globalThis is not defined. from google, I understood that this is because user's browser is too old. they use Pixel 2, Android 8, Chrome Mobile 87.0.4280. so my question is: is it expected to not work there?
https://perchunpak.sentry.io/share/issue/352e100c94f647d5b7f15d2c9293623a/

11 Replies

Avatar
why are you using global
Avatar
hmm… what plugin are you using that does
Avatar
@perchun the reason i ask is if you can find out what is using global, and see why, you may be able to declare it globally
Avatar
only next.js uses it
Answer
Avatar
havent used it. But may work for ya.
Avatar
i actually don't care about such old phone, but shouldn't this dependency be required by next.js?
Avatar
no. you cant support shit forever
Avatar
Irish Terrier
@perchun HI! did you find any fix for this?
Avatar
anything as a final solution to this?