I’m stuck on improving my solution.
I’ve tried to run it locally following the README.md file and some other answers in this forum, but i cannot run without problem.
Here are my logs:
➜ ./your_program.sh
bash: ./your_program.sh: cannot execute: required file not found
Here’s a link to my repo:
gabrielbudke/codecrafters-claude-code-python: Build your own Claude Code
Hey @gabrielbudke, could you share which OS you’re using and a screenshot of how you’re running it?
Also, could you share the output of running pwd and ls as well?
Hello, @andy1li!
I’m using WSL with Ubuntu.
Thanks for sharing the screenshot! Hmm, that does look unusual.
Could you try running file your_program.sh and bash your_program.sh and share the output as well?
Looks like this is a Windows CRLF line ending issue. Could you check whether this is coming from your editor or your Git settings? @gabrielbudke
One quick way to fix it:
sudo apt install dos2unix
dos2unix your_program.sh
Let me know how it goes!
Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!