Please run expo diagnostics and paste the log that’s printed out along with your question or issue!
PS path> expo upgrade
We couldn't find a git repository in your project directory.
It's recommended to back up your project before proceeding.
√ Would you like to proceed? ... yes
√ You are currently using SDK 40.0.0. Would you like to update to the latest version, 41.0.0? ... yes
√ Would you like to upgrade the Expo app in the Android emulator? ... no
√ Installed expo@^41.0.0
‼ Please manually delete the sdkVersion field in your project app config file. It is now automatically determined based on the expo package version in your package.json.
√ No additional changes necessary to app 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: Unable to find the expo-asset package in the current project. Install it and try again.
√ Cleared packager cache.
I then reverted, ran expo install expo-asset. Tried again, same result.
thanks for looking into this. i was also confused. when i revert, delete node_modules and run npm install, it installs without errors (no expo-asset entry in package.json).
looks like a npm 7 issue with your dependencies. run npm install --legacy-peer-deps in the project directory or use npm 6 instead. it seems you have a version of react-test-renderer that requires react 17, so you can move that to react-test-render@16 also