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

neither npm nor yarn would install from source #358

Open
kl3eo opened this issue Nov 29, 2023 · 1 comment
Open

neither npm nor yarn would install from source #358

kl3eo opened this issue Nov 29, 2023 · 1 comment

Comments

@kl3eo
Copy link

kl3eo commented Nov 29, 2023

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
Copy link

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++

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

2 participants