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

ipfs.init(): TypeError: callback is not a function #349

Closed
kenshyx opened this issue Jul 6, 2016 · 1 comment
Closed

ipfs.init(): TypeError: callback is not a function #349

kenshyx opened this issue Jul 6, 2016 · 1 comment
Assignees
Labels
exp/novice Someone with a little familiarity can pick up kind/bug A bug in existing code (including security flaws)

Comments

@kenshyx
Copy link
Contributor

kenshyx commented Jul 6, 2016

If I try to run init() without specifying some options the callback is saved on opts.

TypeError: callback is not a function
    at node_modules/ipfs/lib/core/ipfs/init.js:29:16
    at node_modules/fs-blob-store/index.js:65:5
    at FSReqWrap.oncomplete (fs.js:117:15)
@daviddias daviddias added milestone 2 kind/bug A bug in existing code (including security flaws) labels Jul 27, 2016
@daviddias daviddias added the exp/novice Someone with a little familiarity can pick up label Aug 15, 2016
@daviddias daviddias self-assigned this Aug 15, 2016
@daviddias daviddias added status/in-progress In progress and removed milestone 2 labels Aug 15, 2016
@daviddias
Copy link
Member

Thank you @kenshyx , fixed on #416

daviddias added a commit that referenced this issue Aug 15, 2016
fix(repo): init does not break if no opts are passed. Fixes #349
@daviddias daviddias removed the status/in-progress In progress label Aug 15, 2016
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 kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

2 participants