digitalocean / digitalocean/sample-functions-python-jokes

Fail to deploy from Windows

Open
#7 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
40
Forks
60
PR merge metrics
No merged PRs in 30d

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"

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

Tech stack
python, shell
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.