Command "npx expo export -p web" exited with 1

The project builds fine locally, but vercel keeps gives me an error that metro-config file is not found. I installed it several times and replaced the package.json and the package-lock.json. It still says not found.
Error: Cannot find module ‘/vercel/path0/node_modules/@expo/metro-config/build/index.js’
Error: Command “npx expo export -p web” exited with 1

The Deployment is failing. I wan to Deploy

I am just trying to deploy but the error and the fixes are not working. Or I may be doing something wrong but it is strait forward. The fix says do this npm install @expo/metro-config and upload the package.json and package-lock.json