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

Error: 'config' is not a recognised command (from Cardano-EZ-Installer when running j setup) #9

Open
eeoam opened this issue Sep 12, 2024 · 0 comments

Comments

@eeoam
Copy link

eeoam commented Sep 12, 2024

Hi @iburzynski ,

I've been working my way through the installation instructions and have got to step 6: Getting started : j commands and setup wizard. I ran j setup and cardano-cli was installed successfully. But when it tries to install cardano-node I get the following error:

Install cardano-node/cardano-cli? [Y/n] y

** Cardano-EZ-Installer v0.3 **

2024-09-12 07:58:29  Checking nix.conf...
error: 'config' is not a recognised command
Try 'nix --help' for more information.
Traceback (most recent call last):
  File "/home/eric/Desktop/MyProjects/2024/cardano/jambhala/cardano-ez-installer/main.py", line 46, in <module>
    install()
  File "/home/eric/Desktop/MyProjects/2024/cardano/jambhala/cardano-ez-installer/main.py", line 25, in install
    nix_conf_ready = check_nix_conf()
  File "/home/eric/Desktop/MyProjects/2024/cardano/jambhala/cardano-ez-installer/src/nix_conf.py", line 80, in check_nix_conf
    nix_conf_output = subprocess.check_output(["nix", "config", "show", "--json"])
  File "/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nix', 'config', 'show', '--json']' returned non-zero exit status 1.
error: Recipe `install-cardano` failed on line 73 with exit code 1
error: Recipe `setup` failed on line 136 with exit code 1

Can you help?

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

No branches or pull requests

1 participant