Fail to deploy from Windows
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system, devops
Research direction
Start by inspecting packages/joke/joke/build.sh and the deployment path that selects platform-specific build scripts. Reproduce the deployment on Windows and Ubuntu on Windows, then verify that the joke action deploys successfully without the reported build.sh or build.cmd errors.
Written by the indexing model from the issue text.
Description
When trying to deploy in Windows, I receive the following error:
"Error: In packages\joke\joke: 'build.sh' won't run on this platform and no 'build.cmd' is provided"
Also tried with Ubuntu on Windows, the build.sh also fails:
"/bin/bash: ./build.sh: /bin/bash^M: bad interpreter: No such file or directory
Failures:
Error: While deploying action 'joke/joke': './build.sh' exited with code 126"
- Dominant language
- Python
- Stars
- 40
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from digitalocean/sample-functions-python-jokes
-
Failed to deployOpen
Difficulty 3/5 1-2 days Newbie friendliness 25/100
digitalocean/sample-functions-python-jokes#11 · 4 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
digitalocean/sample-functions-python-jokes#8 · 1 comment ·
All issues in digitalocean/sample-functions-python-jokes
Similar issues
-
New InternshipOpennew_internship
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
[BUG] Reports tab: "Unban" button tooltip shows raw `{{ip}}` placeholder instead of the IP addressOpenbug javascript ui
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bunkerity/bunkerweb#4001 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
PedestrianDynamics/pyFDS-Evac#476 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
google/differential-privacy#516 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
adobe-fonts/source-serif#153 ·