-
Notifications
You must be signed in to change notification settings - Fork 174
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
Basics ./prereqs.sh Error ./prereqs.sh: line 250: ghcup: command not found #1028
Comments
I think this is the issue 🙂 Most of the scripts are created purely for Linux environments. In this case, after installing |
I got same on Ubuntu 20.04 (LTS) x64 VM machine at Digital Ocean |
|
@rdlrt
2 -
Are supposed to destroy everything and start again with /prereqs.sh -b alpha? |
Looks like it went fine (even from master), as ghcup was already available in your $PATH. Are you sure you received the exactly same message as OP (incl. the line numbers)? |
Had this problem today on ubuntu 20.04. In /root/.bashrc # If not running interactively, don't do anything
[ -z "$PS1" ] && return For non-root users, in # If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac So environment is not reloaded after it got updated because the script is not executed interactively Edit: here is some more information https://askubuntu.com/a/1041348 |
Linked PR should fix it, as it will directly source the env file instead of bashrc |
Trying to setup cardano node and following the guild guide on the basics page the following happened.
Using Ubuntu on windows 10
After attempting the line in basics
./prereqs.sh
to setup the prereqs.sh I got this error.
Installing GHC v8.10.4 ..
./prereqs.sh: line 250: ghcup: command not found
./prereqs.sh: line 251: ghcup: command not found
./prereqs.sh: line 252: ghc: command not found
Installing Cabal v3.4.0.0..
./prereqs.sh: line 261: ghcup: command not found
Am I missing something? or is this normal?
The text was updated successfully, but these errors were encountered: