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.
Daemon bootstrap error #1066
Closed
Description
When running js-ipfs
on windows, I get the following error.
C:\Users\Owner\Documents\GitHub\js-ipfs>node src\cli\bin.js daemon
Initializing daemon...
Swarm listening on /p2p-circuit/ipfs/QmV7Nosg5JQPSunFLc2NR4RKRkNzFmMXPw9VtHUx4qsz7i
Swarm listening on /p2p-circuit/ip4/0.0.0.0/tcp/4002/ipfs/QmV7Nosg5JQPSunFLc2NR4RKRkNzFmMXPw9VtHUx4qsz7i
Swarm listening on /p2p-circuit/ip4/127.0.0.1/tcp/4003/ws/ipfs/QmV7Nosg5JQPSunFLc2NR4RKRkNzFmMXPw9VtHUx4qsz7i
Swarm listening on /ip4/127.0.0.1/tcp/4003/ws/ipfs/QmV7Nosg5JQPSunFLc2NR4RKRkNzFmMXPw9VtHUx4qsz7i
Swarm listening on /ip4/192.168.178.21/tcp/4002/ipfs/QmV7Nosg5JQPSunFLc2NR4RKRkNzFmMXPw9VtHUx4qsz7i
Swarm listening on /ip4/127.0.0.1/tcp/4002/ipfs/QmV7Nosg5JQPSunFLc2NR4RKRkNzFmMXPw9VtHUx4qsz7i
API is listening on: /ip4/127.0.0.1/tcp/5002
Gateway (readonly) is listening on: /ip4/127.0.0.1/tcp/9090
Daemon is ready
C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\bs58\node_modules\base-x\index.js:52
if (string.length === 0) return Buffer.allocUnsafe(0)
^
TypeError: Cannot read property 'length' of null
at decodeUnsafe (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\bs58\node_modules\base-x\index.js:52:16)
at Object.decode (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\bs58\node_modules\base-x\index.js:80:18)
at Object.fromB58String (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\multihashes\src\index.js:68:27)
at Function.exports.createFromB58String (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\peer-id\src\index.js:159:24)
at bootstrapers.forEach (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\libp2p-railing\src\index.js:28:31)
at Array.forEach (<anonymous>)
at Timeout.interval.setInterval [as _onTimeout] (C:\Users\Owner\Documents\GitHub\js-ipfs\node_modules\libp2p-railing\src\index.js:25:25)
at ontimeout (timers.js:471:11)
at tryOnTimeout (timers.js:306:5)
at Timer.listOnTimeout (timers.js:266:5)
C:\Users\Owner\Documents\GitHub\js-ipfs>
Metadata
Metadata
Assignees
Labels
No labels