ethereumclassic / explorer

EthereumClassic Block Explorer
MIT License
263 stars 252 forks source link

neither npm nor yarn would install from source #358

Open kl3eo opened 11 months ago

kl3eo commented 11 months ago

Both break during either "nmp install" or "yarn" on downloading dependencies. Specifically, "git --no-replace-objects checkout 4.0" (npm) and "git ls-remote --tags --heads git://github.com/frozeman/WebSocket-Node.git" -- installed the latest git; added ssh identity. Still dep install isbroken.

ryanlovfer commented 8 months ago

we can use follow step to resolve problem:

  1. “git config --global url."https://".insteadOf git://”
  2. npm install

notes: the install must depend python2.5+, and < python3.0,follow step:

  1. download python Python-2.7.2.tgz from python homepage
  2. tar -zxvf Python-2.7.2.tgz
  3. cd Python-2.7.2.tgz
  4. ./configure
  5. make install

if happen error,is miss gcc,g++

  1. apt install gcc
  2. apt install g++