We're a place where coders share, stay up-to-date and grow their careers.
Looks like, it's not easy to upgrade.. From "expo": "~36.0.0" to "expo": "^40.0.0".
"expo": "~36.0.0"
"expo": "^40.0.0"
Exception TypeError: undefined is not an object (evaluating '_window$location.protocol') C:\Users\USER...\PROJECT\node_modules\next\dist\next-server\lib\utils.js (3:193)
Exception TypeError: undefined is not an object (evaluating '_window$location.protocol')
C:\Users\USER...\PROJECT\node_modules\next\dist\next-server\lib\utils.js (3:193)
I'm using Next.js with Expo for Web.
Raised issue: github.com/expo/expo-cli/issues/3156
Looks like, it's not easy to upgrade..
From
"expo": "~36.0.0"
to"expo": "^40.0.0"
.I'm using Next.js with Expo for Web.
Raised issue: github.com/expo/expo-cli/issues/3156