- Delete the "node_modules" folder from the project.
- Commit the changes to the repository (removing node_modules if it was previously tracked).
- Deploy the project to Vercel.
Errors & fixed-errors images in G-drive link :-
https://drive.google.com/drive/folders/1Cb6sYgTZEq5UbYs3BvW5PpliYTdLoh2L?usp=sharing
Steps I Followed:-
- Modified Configuration Files – Made some changes in package.json and vercel.json.
- Deleted Unnecessary Files – Removed vercel.json, package-lock.json, and reinstalled all dependencies using: npm install
- Cleared node_modules – Manually deleted the node_modules folder to ensure a fresh installation.
- Committed the Changes – Pushed the updates to my GitHub repository.
- Deployed on Vercel – Finally, deployed the project to Vercel, and everything worked smoothly!
Top comments (0)