2 Answers
- Newest
- Most votes
- Most comments
0
An exec format error
almost always means that the CPU architecture that your application was compiled with is not the same as the CPU architecture that you're deploying it to. For example, you might have built your application on an Intel machine, then copied it to an Amazon EC2 Graviton instance. Or you might have built the application on an M1 Mac, then copied it to an Amazon Intel or AMD EC2 instance.
0
If you created the script file on Windows, you have to convert it to Linux format. dos2unix can do that.
answered 2 years ago
Relevant content
- asked 6 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 17 days ago