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
perchunOP
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
DirtyCajunRice | AppDir
why are you using global
Avatar
DirtyCajunRice | AppDir
hmm… what plugin are you using that does
Avatar
DirtyCajunRice | AppDir
@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
perchunOP
only next.js uses it
Avatar
DirtyCajunRice | AppDir
Answer
Avatar
DirtyCajunRice | AppDir
havent used it. But may work for ya.
Avatar
perchunOP
i actually don't care about such old phone, but shouldn't this dependency be required by next.js?
Avatar
DirtyCajunRice | AppDir
no. you cant support shit forever
Avatar
Irish Terrier
@perchun HI! did you find any fix for this?
Avatar
Vishwajeet Vatharkar
anything as a final solution to this?