I recently tried to launch my project on a new computer. I downloaded the source code from its repository and ran npm install
to get all the needed packages.
However, when I run npm start
or expo start:web
, I receive the error:
Cannot find module '@expo/metro-config'
I ran npm install @expo/metro-config
and the install run without issue, but I still get the “Cannot find module” error.
I am on SDK 42, and the project launches fine on my other computer. Any idea what is happening?
FYI, I use to perform this whole operation without any issue until now.