I’m really confused about this issue—it started happening consistently at a certain point.
Locally, I copied compile.sh and run.sh to the root dir of my project, and everything works fine. However, when running the same scripts on the remote machine, I keep encountering this issue.
I’ve already tried:
Setting permissions with chmod 777
Converting line endings using dos2unix
Ensuring the script has #!/bin/sh at the top
Despite these efforts, the issue persists. I haven’t made any changes to my remote configuration, so I’m unsure whether the problem is on the remote side or something in my setup.
Any insights or suggestions would be greatly appreciated!
Hey, thanks for your reply! I ran the command, but unfortunately, the issue still persists. The error message was still the same and personally I don’t think that’s the problem, for compile.sh runs fine. (the problem remains )
Wow thank you and it worked. The problem was indeed wired: in my local repo the file permission differs from the repo you cloned, actually it was more relaxed. Anyway the issue was resolved, and thank for your help!