neither npm nor yarn would install from source
Opened this issue · 1 comments
kl3eo commented
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
we can use follow step to resolve problem:
- “git config --global url."https://".insteadOf git://”
- npm install
notes: the install must depend python2.5+, and < python3.0,follow step:
- download python Python-2.7.2.tgz from python homepage
- tar -zxvf Python-2.7.2.tgz
- cd Python-2.7.2.tgz
- ./configure
- make install
if happen error,is miss gcc,g++
- apt install gcc
- apt install g++