Please provide the following:
- SDK Version: 49
- Platforms(Android/iOS/web/all): Web
I am learning expo SDK and I was interested in building a cross-platform app. First place I started was with the routing as I will want to leverage that.
I followed the instructions there: Install Expo Router - Expo Documentation
and on my phone (Android) it works as expected.
When I navigated to the web version (through browser), it fails with this error:
Metro error: (0 , _expoModulesCore.uuidv4) is not a function
Call Stack
<global> (node_modules/expo-constants/build/ExponentConstants.web.js)
loadModuleImplementation (node_modules/metro-runtime/src/polyfills/require.js)
guardedLoadModule (node_modules/metro-runtime/src/polyfills/require.js)
metroRequire (node_modules/metro-runtime/src/polyfills/require.js)
<global> (node_modules/expo-constants/build/Constants.js)
loadModuleImplementation (node_modules/metro-runtime/src/polyfills/require.js)
guardedLoadModule (node_modules/metro-runtime/src/polyfills/require.js)
metroRequire (node_modules/metro-runtime/src/polyfills/require.js)
<global> (node_modules/expo-router/src/link/linking.ts)
loadModuleImplementation (node_modules/metro-runtime/src/polyfills/require.js)
I have tried from scratch, verified the steps the documentations recommends for manual process, to no avail.
Should I try a different version than 49? Or is there a step I am missing?
Thanks!