Errors result of upgrading from sdk 48 to sdk 49:
TypeError: Cannot read property 'Together' of undefined, js engine: hermes at node_modules/react-native/Libraries/Core/ExceptionsManager.js:105:15
in reportException at node_modules/react-native/Libraries/Core/ExceptionsManager.js:150:4
in handleException at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:26:18
in handleError at node_modules/expo/build/errors/ExpoErrorManager.js:27:16
in createErrorHandler at node_modules/expo/build/errors/ExpoErrorManager.js:32:8
in <anonymous> at node_modules/@react-native/js-polyfills/error-guard.js:51:16
in ErrorUtils.applyWithGuard at http://192.168.0.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:null
in metroRequire at http://192.168.0.10:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:null
in global
Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:105:15 in reportException at node_modules/react-native/Libraries/Core/ExceptionsManager.js:150:4 in handleException
* ... 7 more stack frames from framework internals
expo-env-info 1.0.5 environment info:
System:
OS: macOS 14.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.17.0 - /usr/local/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 8.15.0 - /usr/local/bin/npm
Watchman: 2023.02.06.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
babel-preset-expo: ^9.3.0 => 9.5.2
expo: ^49.0.0 => 49.0.13
metro: ^0.79.1 => 0.79.1
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.72.5 => 0.72.5
react-native-web: ~0.19.6 => 0.19.9
npmGlobalPackages:
expo-cli: 5.0.1
Expo Workflow: managed
It is regarding my react-native-reanimated package and in my package.js the version I’m using is “3.3.0”. I have tried removing the react-native-reanimated package, upgrading to latest or even completely remove the node_modules / yarn.lock and reinstall and still nothing.
Any advise on what is the issue that would be great. Thanks