Unable to run daemon

I was able to run ipfs deskop/daemon with no issue. All of a sudden I can’t run it at all. When running “ipfs daemon” i get the following result. I have tried reinstalling ipfs but am getting the same issue. Any assistance is greatly appreciated as I do not even know where to begin.

ERROR:

2021-10-06T13:36:50.566-0400 ERROR cmd/ipfs ipfs/daemon.go:422 error from node construction: could not build arguments for function “github.com/ipfs/go-ipfs/core/node”.PeerWith.func1 (github.com/ipfs/go-ipfs@v0.10.0/core/node/peering.go:29): failed to build *peering.PeeringService: could not build arguments for function “github.com/ipfs/go-ipfs/core/node”.Peering (github.com/ipfs/go-ipfs@v0.10.0/core/node/peering.go:14): failed to build host.Host: could not build arguments for function “github.com/ipfs/go-ipfs/core/node/libp2p”.Host (github.com/ipfs/go-ipfs@v0.10.0/core/node/libp2p/host.go:40): could not build value group config.Option[group=“libp2p”]: received non-nil error from function “github.com/ipfs/go-ipfs/core/node/libp2p”.PNet (github.com/ipfs/go-ipfs@v0.10.0/core/node/libp2p/pnet.go:21): failed to configure private network: EOF

Error: could not build arguments for function “github.com/ipfs/go-ipfs/core/node”.PeerWith.func1 (github.com/ipfs/go-ipfs@v0.10.0/core/node/peering.go:29): failed to build *peering.PeeringService: could not build arguments for function “github.com/ipfs/go-ipfs/core/node”.Peering (github.com/ipfs/go-ipfs@v0.10.0/core/node/peering.go:14): failed to build host.Host: could not build arguments for function “github.com/ipfs/go-ipfs/core/node/libp2p”.Host (github.com/ipfs/go-ipfs@v0.10.0/core/node/libp2p/host.go:40): could not build value group config.Option[group=“libp2p”]: received non-nil error from function “github.com/ipfs/go-ipfs/core/node/libp2p”.PNet (github.com/ipfs/go-ipfs@v0.10.0/core/node/libp2p/pnet.go:21): failed to configure private network: EOF

SOLVED: on MAC OS run ‘rm -r ~/.ipfs’ then restart

1 Like