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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
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"
.I'm using Next.js with Expo for Web.
Raised issue: github.com/expo/expo-cli/issues/3156