Skip to content

Codespace can't run script #3179

Answered by twpayne
MelvinCou asked this question in Q&A
Aug 16, 2023 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

2023-08-16T17:09:48Z ERR RunScript error="fork/exec /tmp/2247928708.install-packages.sh: no such file or directory" component=system condition=once data="#!/usr/bin/sh\r\n...

Your shell script has Windows, not UNIX, line endings. This makes Linux look for an interpreter called "/usr/bin/sh\r", which, of course, does not exist.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@MelvinCou
Comment options

@MelvinCou
Comment options

@MelvinCou
Comment options

Comment options

You must be logged in to vote
1 reply
@MelvinCou
Comment options

Answer selected by MelvinCou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants