[Bug] I cannot install chiablockchain-gui on CentOS 8
See original GitHub issueWhat happened?
Hello, i cannot install chia-blouckchain-gui on CentOS 8.5.2111 via official manual to installation.
Workflow:
- rm -rf chia-blockchain
- git clone https://github.com/Chia-Network/chia-blockchain.git -b latest
- cd chia-blockchain
- sh install.sh
- . ./activate
- sh install-gui.sh <- i get "Command failed: git checkout master pathspec ‘master’ did not match any file(s) know to git pro sh install-gui.sh … "
What is wrong?
Please, help me.
Thanks
Version
latest
What platform are you using?
Linux
What ui mode are you using?
CLI
Relevant log output
(venv) [surf@localhost chia-blockchain]$ sh install-gui.sh
install-gui.sh: line 24: type: apt-get: not found
yum is /usr/bin/yum
yum is /usr/bin/yum
Installing on CentOS/Redhat.
## Installing the NodeSource Node.js 12.x repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release || rpm -q --whatprovides fedora-release
+ uname -m
## Confirming "el8-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_12.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm'
## As yum will try to install Node.js from the AppStream repository
instead of the NodeSource repository, the AppStream's version of Node.js has to be disabled.
## Run `sudo yum module enable -y nodejs` to reactivate the AppStream's Node.js repository.
+ yum module disable -y nodejs
Last metadata expiration check: 1:04:24 ago on Wed 01 Dec 2021 06:50:04 PM CET.
Dependencies resolved.
Nothing to do.
Complete!
## Downloading release setup RPM...
+ mktemp
+ curl -sL -o '/tmp/tmp.lnyzutjoHI' 'https://rpm.nodesource.com/pub_12.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm'
## Installing release setup RPM...
+ rpm -i --nosignature --force '/tmp/tmp.lnyzutjoHI'
## Cleaning up...
+ rm -f '/tmp/tmp.lnyzutjoHI'
## Checking for existing installations...
+ rpm -qa 'node|npm' | grep -v nodesource
## Run `sudo yum install -y nodejs` to install Node.js 12.x and npm.
## You may run dnf if yum is not available:
sudo dnf install -y nodejs
## You may also need development tools to build native addons:
sudo yum install gcc-c++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo yum install yarn
Last metadata expiration check: 1:04:27 ago on Wed 01 Dec 2021 06:50:04 PM CET.
Package nodejs-2:12.22.7-1nodesource.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Running git submodule update --init --recursive.
Running git submodule update.
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!
npm WARN tar ENOENT: no such file or directory, open '/home/surf/chia-blockchain/chia-blockchain-gui/node_modules/.staging/string-width-a2d1f43f/package.json'
........ many lines censored
npm WARN tar ENOENT: no such file or directory, open '/home/surf/chia-blockchain/chia-blockchain-gui/node_modules/.staging/@material-ui/core-7807b5a6/styles/withTheme.d.ts'
npm WARN tar ENOENT: no such file or directory, lstat '/home/surf/chia-blockchain/chia-blockchain-gui/node_modules/.staging/@material-ui/core-7807b5a6/withWidth'
npm WARN tar ENOENT: no such file or directory, open '/home/surf/chia-blockchain/chia-blockchain-gui/node_modules/.staging/@material-ui/core-7807b5a6/colors/yellow.d.ts'
npm WARN tar ENOENT: no such file or directory, open '/home/surf/chia-blockchain/chia-blockchain-gui/node_modules/.staging/@material-ui/core-7807b5a6/styles/zIndex.d.ts'
npm WARN tar ENOENT: no such file or directory, lstat '/home/surf/chia-blockchain/chia-blockchain-gui/node_modules/.staging/@material-ui/core-7807b5a6/Zoom'
npm ERR! code 1
npm ERR! Command failed: git checkout master
npm ERR! error: pathspec 'master' did not match any file(s) known to git
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /home/surf/.npm/_logs/2021-12-01T18_38_42_313Z-debug.log
(venv) [surf@localhost chia-blockchain]$ cat /home/surf/.npm/_logs/2021-12-01T18_38_42_313Z-debug.log
......... many lines censored
18770 verbose stack Error: Command failed: git checkout master
18770 verbose stack error: pathspec 'master' did not match any file(s) known to git
18770 verbose stack
18770 verbose stack at ChildProcess.exithandler (child_process.js:308:12)
18770 verbose stack at ChildProcess.emit (events.js:314:20)
18770 verbose stack at maybeClose (internal/child_process.js:1022:16)
18770 verbose stack at Socket.<anonymous> (internal/child_process.js:444:11)
18770 verbose stack at Socket.emit (events.js:314:20)
18770 verbose stack at Pipe.<anonymous> (net.js:675:12)
18771 verbose cwd /home/surf/chia-blockchain/chia-blockchain-gui
18772 verbose Linux 4.18.0-348.2.1.el8_5.x86_64
18773 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
18774 verbose node v12.22.7
18775 verbose npm v6.14.15
18776 error code 1
18777 error Command failed: git checkout master
18777 error error: pathspec 'master' did not match any file(s) known to git
18778 verbose exit [ 1, true ]
(venv) [surf@localhost chia-blockchain]$
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Troubleshooting Installation on 64-bit AMD, Intel, and ARM ...
To do this, either select Troubleshooting > Install CentOS in basic graphics mode in the boot menu, or edit the installation program's boot...
Read more >1869616 – Unable to install from latest CentOS-Stream-8 ...
Expected results: I should be able to install the distro. Additional info: I think the bug is not in anaconda itself, I am...
Read more >CentOS 8 installation: Error setting up base repository
To fix the issue, first go to “Network & Host Name” section, enable the Ethernet connection and click “Done” (you might need to...
Read more >Failed to download metadata for repo 'appstream'” (CentOS 8)
Error : Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist. If you still manage systems running CentOS 8 ...
Read more >How To Install the Apache Web Server on CentOS 8
The Apache HTTP server is the most widely-used web server in the world. It provides many powerful features including dynamically loadable ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, latest (which is 1.2.11) has this problem because the package json references a github repo that was changed. This has been fixed in main and will be fixed with the next release which will move latest to that release.
Recommend using the package DEB as a workaround. Or git clone main instead of -b latest.
im waiting for bug fix forChia-blockchain-gui installation on Centos 8