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

Small issues getting up and running with js-ipfs #93

Closed
@upfs

Description

@upfs

I want to get up on speed with js-ipfs and ran into a few small issues.

package.json

reads "main": "src/index.js" I changed it locally to "main": "src/ipfs-core/index.js" to be able to follow the README usage:

var IPFS = require('ipfs')

var node = new IPFS()

otherwise yields error: ipfs module not found

missing dependency

Should this be added to package.json?
'fs-blob-store'

jsipfs daemon

Initializing daemon... error listen EAFNOSUPPORT :::4001

if run a second time

Initializing daemon... This repo is currently being used by another daemon

Then I rm -r ~/.ipfs and ipfs init using go-ipfs, but can't get jsipf daemon working because of the EAFNOSUPPORT error

I want to run js-ipfs daemon in the browser, but can't even get it to work in node. Is it usable to a degree even if just for basic operations like fetching objects? I tried browserify but get all sort of dependency issues like:

Error: Cannot find module 'buffer!./pb/crypto.proto'

That I'm not sure how to resolve.

Thanks for any pointers on how to get js-ipfs daemon up and running, ideally in the browser!

Metadata

Metadata

Assignees

Labels

kind/supportA question or request for support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions