I need Help with update 44 to 46 sdk expo

Please provide the following:

  1. SDK Version: 46
  2. Platforms(Android/iOS/web/all): Android

Hi, i need help. I upgrade my expo app sdk from 44 to 46, one by one sdk and appears this error:

AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from ‘@react-native-async-storage/async-storage’ instead of ‘react-native’.
at node_modules\expo\build\environment\react-native-logs.fx.js:null in warn
at node_modules\react-native\Libraries\Utilities\warnOnce.js:null in warnOnce
at node_modules\react-native\index.js:null in module.exports.get__AsyncStorage
at node_modules@firebase\app\dist\index.rn.cjs.js:null in
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at node_modules\firebase\dist\index.rn.cjs.js:null in
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at app\screens\MyAccount\MyAccount.js:null in
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at app\nagivation\MyAccountStack.js:null in
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at app\nagivation\index.js:null in
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at App.js:null in
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at index.js:null in
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at node_modules\metro-runtime\src\polyfills\require.js:null in guardedLoadModule
at http://192.168.1.7:19000/index.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in global code

Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from ‘deprecated-react-native-prop-types’.
at node_modules\expo\build\environment\react-native-logs.fx.js:null in error
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in handleException
at node_modules\react-native\Libraries\Core\setUpErrorHandling.js:null in handleError
at node_modules\expo\build\errors\ExpoErrorManager.js:null in errorHandler
at node_modules\expo\build\errors\ExpoErrorManager.js:null in
at node_modules@react-native\polyfills\error-guard.js:null in ErrorUtils.reportFatalError
at node_modules\metro-runtime\src\polyfills\require.js:null in guardedLoadModule
at http://192.168.1.7:19000/index.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in global code

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.
    at node_modules\expo\build\environment\react-native-logs.fx.js:null in error
    at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException
    at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in handleException
    at node_modules\react-native\Libraries\Core\setUpErrorHandling.js:null in handleError
    at node_modules\expo\build\errors\ExpoErrorManager.js:null in errorHandler
    at node_modules\expo\build\errors\ExpoErrorManager.js:null in
    at node_modules@react-native\polyfills\error-guard.js:null in ErrorUtils.reportFatalError
    at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard
    at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in callFunctionReturnFlushedQueue

I don’t know why this is happening even though I’ve been following the step-by-step SDK updates from 44 to 45 and from 45 to 46 as listed on the Expo SDK information page.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.