chanon-mike
Posted on January 9, 2024
Work in local but not working in vercel
Reason
My exact error Module not found: Can't resolve '@/client/client'
This happened after I change file name from Client
to client
.
It seems like git is case-insensitive and the changes are not pushed.
Fix
git rm -r --cached .
git add --all .
git commit -a -m "versioning untracked files"
git push
References
I have changed a few files name by de-capitalize the first letter, as in Name.jpg
to name.jpg
. Git does not recognize this changes and I had to delete the files and upload them again. Is there a way that Git can be case-sensitive when checking for changes in fileβ¦
π πͺ π
π©
chanon-mike
Posted on January 9, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
webdev Automating Your Project Deployment with GitHub Actions: A Step-by-Step Guide
November 26, 2024
typescript Deploy Your Node.js TypeScript App on Vercel Quickly and Efficiently: A Step-by-Step Guide
September 2, 2024