Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The command '/bin/sh -c ./postBuild' returned a non-zero code: 127 #2

Closed
rgaiacs opened this issue Dec 11, 2024 · 4 comments · Fixed by #3
Closed

The command '/bin/sh -c ./postBuild' returned a non-zero code: 127 #2

rgaiacs opened this issue Dec 11, 2024 · 4 comments · Fixed by #3

Comments

@rgaiacs
Copy link
Contributor

rgaiacs commented Dec 11, 2024

I think that

#!/usr/bin/env bash -v
might be the problem. Can we try https://github.com/gesistsa/rtoot/blob/b804da6620c28f83edddacf0e63f312dfd7bf90b/postBuild#L1 and see it it works at https://mybinder.org/?

@rgaiacs
Copy link
Contributor Author

rgaiacs commented Dec 11, 2024

When I try locally with repo2docker, the error is

Step 67/72 : RUN ./postBuild
 ---> Running in 333a5c1b85f6
/usr/bin/env: ‘bash -v’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines

@rgaiacs
Copy link
Contributor Author

rgaiacs commented Dec 11, 2024

I confirm that the proposed change fixes the issue.

@rgaiacs rgaiacs mentioned this issue Dec 11, 2024
rgaiacs added a commit to rgaiacs/MH_netAnaR that referenced this issue Dec 11, 2024
rgaiacs added a commit to rgaiacs/centrality that referenced this issue Dec 11, 2024
rgaiacs added a commit to rgaiacs/google-trends that referenced this issue Dec 11, 2024
@schochastics
Copy link
Owner

THanks! I will adjust this in https://github.com/gesistsa/usemh. The postBuild is actually created via quarto use binder so is this a bug in quarto too?

@rgaiacs
Copy link
Contributor Author

rgaiacs commented Dec 12, 2024

@schochastics I open gesistsa/usemh#11 to keep track of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants