Hello,
My Vercel project is not deploying the latest version of my files from the connected GitHub repository. The build continues to fail with an error for a file that no longer exists in the latest commit.
- Project:
electrical-safety-education - GitHub Repo:
https://github.com/Sakurayuki89/electrical-safety-education - Problem: The build fails with the error "Cannot find module './config'" or "Function Runtimes must have a valid version", even though the code on the
main-fixbranch has already fixed these issues. The deployment log shows Vercel is building from an old commit, not the latest one.
Troubleshooting I have already tried:
- Redeploying without the build cache.
- Deleting and recreating the entire Vercel project.
- Pushing the code to a new branch (
main-fix) and trying to deploy from there.
Even after all these steps, Vercel does not seem to pull the latest version of the code for a new deployment. How can I force Vercel to sync with the latest commit from my GitHub repository?
Thank you.