chia-blockchain: [Bug] Can't install Chia Blochchain GUI on Ubuntu 20.04
What happened?
Tried to install chia including gui on a fresh ubuntu 20.04.
I read in another issue that it is related to a moved dependency. but main branch doesn’t work too. Anyone knows which is the latest functioning branch? Or any other help?
Version
latest
What platform are you using?
Linux
What ui mode are you using?
GUI
Relevant log output
npm ERR! code 1
npm ERR! Command failed: git checkout master
npm ERR! error: Pfadspezifikation 'master' stimmt mit keinen git-bekannten Dateien überein
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kupferschmidt/.npm/_logs/2021-12-10T23_11_55_020Z-debug.log
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (10 by maintainers)
Lets just face facts; the installer for Chia has never worked in Ubuntu.
Search yours programs, when its installed it will look like nothing happened. If not use dpkg to install, very easy.
Wow, emlowe tried to provide some help instead of just silencing someone and closing out their thread. Color me surprised.
Also, your attempt was not conducive to anything productive, it didn’t work. It’d be nice if the original problem in this thread was just, you know, fixed. I’ve spent days now just trying to open a cold wallet and can’t due to this issue. I mean, like, wow, seriously.
Every installer I’ve tried for Chia in Ubuntu has never worked. So I went through the unnecessarily laborious process of torrenting the specific one you mentioned. I’ve run it like 6 times. It never installs anything.
i have used the installer downloaded from https://www.chia.net/download/ for ubuntu a number of times and it works fine
Also, I’ve had the same issue. After spending hours trying to fix it what I found was it seems to be sourced in the following: When going to
sh install-gui.sh(and perhaps even in the previous line ofsh install.sh) NPM is unable to extract all the files because it says:"npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!".Basically, it looks like someone updated the files to be used with that new version and npm can’t handle it. But you will still follow the install instructions and when you go to the final command to execute the program, it doesn’t work because that earlier process in the installation failed.
As a result the
"/home/usr/chia-blockchain/chia-blockchain-gui/node_modules/"folder and subfolders are never created.[Edit: some have noted in similar issues in other places for similar issues that it could have something to do with permissions, but that’d be incredibly new and weird on fresh installs of Ubuntu when that wasn’t previously an issue]