digitalocean / digitalocean/sample-functions-python-jokes

Fail to deploy from Windows

Aperta
#7 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
40
Fork
60
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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"

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, shell
Ambito
build-system, devops
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.