I do “expo upgrade 42.0.0”
√ Would you like to proceed? … yes
√ You are currently using SDK 40.0.0. Would you like to update to the latest version, 42.0.0? … yes
√ Would you like to upgrade the Expo app in the Android emulator? … no
√ Installed expo@^42.0.0
√ Validated configuration.
√ No additional changes necessary to app.json config.
√ Updated known packages to compatible versions.
√ Removed package-lock.json and deleted node_modules.
× Running npm install failed. Please check npm-error.log for more information.
× Failed to clear packager cache with error: Can’t read JSON file: C:[file path]node_modules\expo\package.json
├─ File: C:[file path]node_modules\expo\package.json
└─ Cause: Error: ENOENT: no such file or directory, open
√ Cleared packager cache.
Automated upgrade steps complete.
…but this doesn’t mean everything is done yet!
The following packages were updated:
[updated package name]
The following packages were not updated. You should check the READMEs for those repositories to determine what version is compatible with your new set of packages:
@fortawesome/fontawesome-svg-core, @fortawesome/free-regular-svg-icons, @fortawesome/free-solid-svg-icons, @fortawesome/react-native-fontawesome, @ptomasroos/react-native-multi-slider, @react-navigation/bottom-tabs, @react-navigation/material-bottom-tabs, @react-navigation/material-top-tabs, @react-navigation/native, @react-navigation/stack, @sentry/react-native, axios, moment, native-base, query-string, radio-buttons-react-native, react-native-calendars, react-native-chart-kit, react-native-datepicker, react-native-device-info, react-native-dropdown-picker, react-native-easy-grid, react-native-elements, react-native-exception-handler, react-native-fetch-blob, react-native-flexi-radio-button, react-native-image-base64, react-native-keyboard-aware-scroll-view, react-native-linear-gradient, react-native-machine-info, react-native-orientation, react-native-paper, react-native-picker-select, react-native-responsive-fontsize, react-native-snap-carousel, react-native-svg-uri, react-native-switches, react-native-tab-view, react-native-testing-library, react-native-touch-id, react-native-vector-icons, react-test-renderer, babel-jest, enzyme, enzyme-adapter-react-16, jest, jest-environment-enzyme, jest-enzyme, regenerator-runtime
and node_modules files is don’t exist.
How can I reinstall the node_modules file.