Try creating a new requirements.txt file in notepad, then copy the content from your original requirements.txt file into the new file, then upload it into GitHub, this should resolve the error, since the error is caused because Vercel is reading two non-printable character at the start of the requirements.txt file. It worked for me.
code-hamster-rohit
(Rohit Kumar)
8
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Having Difficulty to Deploy a Project | 7 | 254 | September 5, 2024 | |
| Cannot install pip requirements | 0 | 178 | July 27, 2025 | |
| Cannot install needed Python library requirements | 2 | 236 | August 24, 2024 | |
| My project works locally but fails to run on Vercel | 5 | 494 | December 28, 2024 | |
| Error code 1 that broke all my deployments | 3 | 93 | December 3, 2025 |