Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Installing js-ipfs in a project #1790

Closed
vasco-santos opened this issue Dec 21, 2018 · 3 comments · Fixed by #1888
Closed

Installing js-ipfs in a project #1790

vasco-santos opened this issue Dec 21, 2018 · 3 comments · Fixed by #1888
Assignees
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue P3 Low: Not priority right now

Comments

@vasco-santos
Copy link
Member

vasco-santos commented Dec 21, 2018

  • Version: 0.33.1
  • Platform: CentOS, Fedora, Xubuntu, among others
  • Subsystem:

Type:

Documentation enhancement

Severity:

Very Low

Description:

@satazor and myself presented a workshop, True serverless ipfs/dynamic-data-and-capabilities#59 in the Aveiro University. There were people there with all type of environments and package managers. IIRC, there were people using CentOS, Fedora, Xubuntu, among others. During the workshop people had to install peer-base and had several problems installing it due to ipfs / libp2p dependencies.

List of common problems that people had in their environments:

  • need to have node-gyp installed globally
  • node-gyp requires python2.7, while there were people who only had python3 installed and got issues until switching to python2.7.
  • build-essential package needed
  • gcc-c++ needed

I would say that we should have a FAQ installing questions with the possible problems installing ipfs and how to fix them. What do you think?

Steps to reproduce the error:

npm install peer-base

@vasco-santos
Copy link
Member Author

@jacobheun we should analyze this for js-libp2p, as I believe some of these problems may occur with it. I did not create an issue for now.

@vasco-santos vasco-santos added exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue status/ready Ready to be worked P3 Low: Not priority right now labels Dec 21, 2018
@alanshaw
Copy link
Member

Is this as simple as linking to the node-gyp installation instructions from the README? Want to send a PR?

@Bacis
Copy link

Bacis commented Feb 12, 2019

I'm having issues installing ipfs with npm. If I run npm i ipfs I end up with npm ERR! tiny-secp256k1@1.0.1 install: node-gyp rebuild

alanshaw added a commit that referenced this issue Feb 19, 2019
@ghost ghost assigned alanshaw Feb 19, 2019
@ghost ghost added status/in-progress In progress and removed status/ready Ready to be worked labels Feb 19, 2019
alanshaw added a commit that referenced this issue Feb 19, 2019
@ghost ghost removed the status/in-progress In progress label Feb 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue P3 Low: Not priority right now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants