i get the below message when i run ipfs daemon
ERROR core core/builder.go:158 constructing the node: could not build arguments for function “github.com/ipfs/kubo/core/node ”.PeerWith.func1 (github.com/ipfs/kubo@v0.27.0/core/node/peering.go:30 ): failed to build *peering.PeeringService: could not build arguments for function “github.com/ipfs/kubo/core/node ”.Peering (github.com/ipfs/kubo@v0.27.0/core/node/peering.go:14 ): failed to build host.Host: could not build arguments for function “github.com/ipfs/kubo/core/node/libp2p ”.Host (github.com/ipfs/kubo@v0.27.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/kubo/core/node/libp2p ”.PNet (github.com/ipfs/kubo@v0.27.0/core/node/libp2p/pnet.go:21 ): failed to configure private network: expected file header /key/swarm/psk/1.0.0/, got: ��/key/swarm/psk/1.0.0/
Error: constructing the node (see log for full detail): failed to configure private network: expected file header /key/swarm/psk/1.0.0/, got: ��/key/swarm/psk/1.0.0/
hector
March 16, 2024, 10:11pm
2
Your swarm.key
file is not in the expected format.
# Experimental features of Kubo
This document contains a list of experimental features in Kubo.
These features, commands, and APIs aren't mature, and you shouldn't rely on them.
Once they reach maturity, there's going to be mention in the changelog and
release posts. If they don't reach maturity, the same applies, and their code is
removed.
Subscribe to https://github.com/ipfs/kubo/issues/3397 to get updates.
When you add a new experimental feature to kubo or change an experimental
feature, you MUST please make a PR updating this document, and link the PR in
the above issue.
- [Raw leaves for unixfs files](#raw-leaves-for-unixfs-files)
- [ipfs filestore](#ipfs-filestore)
- [ipfs urlstore](#ipfs-urlstore)
- [Private Networks](#private-networks)
- [ipfs p2p](#ipfs-p2p)
- [p2p http proxy](#p2p-http-proxy)
This file has been truncated. show original
hector
March 16, 2024, 10:12pm
3
Error message literally saying there are two weird unicode chars at the beginning of that line.
@hector
Do you have any idea why ?
i opened the swarm key file with note pad and i can’t see any characters is starts with “/”
hector
March 19, 2024, 8:57pm
5
Did you follow the instructions to create the swarm.key file?