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

error while initlizing #1562

Closed
mccoysc opened this issue Sep 14, 2018 · 7 comments
Closed

error while initlizing #1562

mccoysc opened this issue Sep 14, 2018 · 7 comments

Comments

@mccoysc
Copy link

mccoysc commented Sep 14, 2018

jsipfs daemon --enable-dht-experiment --enable-pubsub-experiment
Initializing daemon...
Using wrtc for webrtc support

C:\Users\mccoyzhou\AppData\Roaming\npm\node_modules\ipfs\node_modules\libp2p\src\index.js:145
if (t.filter(multiaddrs).length > 0) {
^

TypeError: t.filter is not a function
at _modules.transport.forEach (C:\Users\mccoyzhou\AppData\Roaming\npm\node_modules\ipfs\node_modules\libp2p\src\index.js:145:13)
at Array.forEach ()
at Node.start (C:\Users\mccoyzhou\AppData\Roaming\npm\node_modules\ipfs\node_modules\libp2p\src\index.js:136:29)
at gotConfig (C:\Users\mccoyzhou\AppData\Roaming\npm\node_modules\ipfs\src\core\components\libp2p.js:94:26)
at store.get (C:\Users\mccoyzhou\AppData\Roaming\npm\node_modules\ipfs\node_modules\ipfs-repo\src\config.js:45:9)
at C:\Users\mccoyzhou\AppData\Roaming\npm\node_modules\ipfs\node_modules\graceful-fs\graceful-fs.js:78:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)

@alanshaw
Copy link
Member

@mccoysc could you provide the code that is causing this error?

@mccoysc
Copy link
Author

mccoysc commented Sep 14, 2018

no code.
i just npm install ipfs -g and then type "jsipfs daemon --enable-dht-experiment --enable-pubsub-experiment" with enter and the error occours

@alanshaw
Copy link
Member

I've just done a fresh install of ipfs@0.32 and I'm not getting the same error - could you try reinstalling?

@alanshaw
Copy link
Member

Did you resolve this @mccoysc?

@mccoysc
Copy link
Author

mccoysc commented Sep 17, 2018

i removed the wrtc module

@alanshaw
Copy link
Member

Closing as this can now be tracked upstream: libp2p/js-libp2p-webrtc-star#156

@Juanperezc
Copy link

I have the same error runining the docker image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants