_os.platform is not a function.

got this error right after i upgraded to expo 45, does it related to nodejs or typescript ? any advice?

TypeError: _os.platform is not a function. (In ‘_os.platform()’, ‘_os.platform’ is undefined)
at node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:95:4 in reportException
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:141:19 in handleException
at node_modules\react-native\Libraries\Core\setUpErrorHandling.js:24:6 in handleError
at node_modules@react-native\polyfills\error-guard.js:49:36 in ErrorUtils.reportFatalError
at node_modules\metro-runtime\src\polyfills\require.js:203:6 in guardedLoadModule
at http://192.168.5.178:19000/node_modules\expo\AppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:569636:3 in global code

this is my package.json

{

“main”: “node_modules/expo/AppEntry.js”,

“scripts”: {

"start": "expo start",

"android": "expo start --android",

"ios": "expo start --ios",

"web": "expo start --web",

"eject": "expo eject"

},

“dependencies”: {

"@brlja/react-native-slider": "^0.12.1",

"@expo/vector-icons": "^13.0.0",

"@react-native-async-storage/async-storage": "~1.17.3",

"@react-native-community/art": "^1.0.2",

"@react-native-community/datetimepicker": "6.1.2",

"@react-native-community/masked-view": "0.1.10",

"@react-navigation/material-bottom-tabs": "^5.1.9",

"@types/react-native-vector-icons": "^6.4.6",

"expo": "^45.0.0",

"expo-app-loading": "~2.0.0",

"expo-barcode-scanner": "~11.3.0",

"expo-camera": "~12.2.0",

"expo-document-picker": "~10.2.1",

"expo-facebook": "~12.2.0",

"expo-font": "~10.1.0",

"expo-image-manipulator": "~10.3.1",

"expo-image-picker": "~13.1.1",

"expo-linear-gradient": "~11.3.0",

"expo-location": "~14.2.2",

"expo-media-library": "~14.1.0",

"expo-permissions": "~13.2.0",

"expo-sqlite": "~10.2.0",

"geolib": "^3.2.1",

"i18n": "^0.13.3",

"localstorage-polyfill": "^1.0.1",

"moment": "^2.24.0",

"moment-timezone": "^0.5.28",

"react": "17.0.2",

"react-devtools": "^4.6.0",

"react-dom": "17.0.2",

"react-native": "0.68.1",

"react-native-animatable": "^1.3.3",

"react-native-autoheight-webview": "^1.5.8",

"react-native-chart-kit": "^6.11.0",

"react-native-circular-progress": "^1.3.6",

"react-native-countdown-circle-timer": "^2.5.4",

"react-native-countdown-component": "^2.7.1",

"react-native-document-picker": "^7.1.0",

"react-native-elements": "^1.2.7",

"react-native-event-source": "^1.1.0",

"react-native-floating-action": "^1.20.0",

"react-native-gesture-handler": "~2.2.0",

"react-native-i18n": "^1.0.0",

"react-native-image-header-scroll-view": "^0.10.3",

"react-native-image-picker": "^2.3.1",

"react-native-image-progress": "^1.1.1",

"react-native-image-viewing": "^0.2.0",

"react-native-indicators": "^0.17.0",

"react-native-input-credit-card": "^0.5.5",

"react-native-loading-spinner-overlay": "^1.1.0",

"react-native-localize": "^2.1.1",

"react-native-maps": "0.30.1",

"react-native-modal": "^11.10.0",

"react-native-modal-overlay": "^1.3.1",

"react-native-modalize": "^2.0.8",

"react-native-month-selector": "^1.4.0",

"react-native-numeric-input": "^1.9.0",

"react-native-paper": "^3.12.0",

"react-native-permissions": "^2.1.2",

"react-native-picker-select": "^8.0.4",

"react-native-popup-menu": "^0.15.9",

"react-native-push-notification": "^3.2.1",

"react-native-ratings": "^6.5.0",

"react-native-raw-bottom-sheet": "^2.2.0",

"react-native-reanimated": "~2.8.0",

"react-native-safe-area-context": "4.2.4",

"react-native-safe-area-view": "^1.1.1",

"react-native-screens": "~3.11.1",

"react-native-search-filter": "^0.1.5",

"react-native-smooth-pincode-input": "^1.0.9",

"react-native-snap-carousel": "^3.9.1",

"react-native-sqlite-storage": "^5.0.0",

"react-native-status-bar-height": "^2.5.0",

"react-native-step-indicator": "^1.0.3",

"react-native-svg": "12.3.0",

"react-native-text-avatar": "^1.0.7",

"react-native-vector-icons": "^8.1.0",

"react-native-web": "0.17.7",

"react-native-webview": "11.18.1",

"react-navigation": "^4.4.4",

"react-navigation-drawer": "^2.7.0",

"react-navigation-header-buttons": "^3.0.5",

"react-navigation-material-bottom-tabs": "^2.3.4",

"react-navigation-stack": "^2.10.4",

"react-navigation-tabs": "^2.11.0",

"react-number-format": "^4.6.3",

"react-redux": "^7.2.0",

"redux": "^4.0.5",

"redux-thunk": "^2.3.0",

"rn-material-ui-textfield": "^1.0.3"

},

“devDependencies”: {

"@babel/core": "^7.12.9",

"@types/react": "~17.0.21",

"babel-preset-expo": "~9.1.0",

"typescript": "~4.3.5"

},

“private”: true

}