When creating a new IPFS daemon with a previously generated (and used) swarm.key, the following error occurs:
Error: could not build arguments for function "github.com/ipfs/go-ipfs/core/node".IpnsRepublisher.func1 (/go-ipfs/core/node/ipns.go:38): failed to build namesys.NameSystem: could not build arguments for function "github.com/ipfs/go-ipfs/core/node".Namesys.func1 (/go-ipfs/core/node/ipns.go:31): failed to build routing.IpfsRouting: could not build arguments for function "github.com/ipfs/go-ipfs/core/node/libp2p".Routing (/go-ipfs/core/node/libp2p/routing.go:60): could not build value group libp2p.Router[group="routers"]: could not build arguments for function "github.com/ipfs/go-ipfs/core/node/libp2p".BaseRouting (/go-ipfs/core/node/libp2p/routing.go:34): failed to build libp2p.BaseIpfsRouting: could not build arguments for function "github.com/ipfs/go-ipfs/core/node/libp2p".Host (/go-ipfs/core/node/libp2p/host.go:39): could not build value group []config.Option[group="libp2p"]: function "github.com/ipfs/go-ipfs/core/node/libp2p".PNet (/go-ipfs/core/node/libp2p/pnet.go:19) returned a non-nil error: failed to configure private netw
This seems to be an issue regarding the line endings for the file.
Things we have already tried to fix it:
Enforce Unix line endings when committing to GitHub
Convert the swarm.key to Unix line endings using the dos2unix utility tool
Initialize daemon with 'standard' swarm.key, then change it (the container doesn't have bash or /bin/bash, so cannot enter it - this is something that can be added)
This is an issue that we will leave to the next group, since this is a specific issue that requires more time to fully research - also due to little amounts of documentation on private networks.
When creating a new IPFS daemon with a previously generated (and used) swarm.key, the following error occurs:
This seems to be an issue regarding the line endings for the file. Things we have already tried to fix it:
dos2unix
utility tool