build command-line-arguments: cannot load io/fs: malformed module path “io/fs”: missing dot in first path element
Can you provide more details log information?
What golang version you use?
so thats the problem I am downloading the latest version but everytime I do go version I am getting 1.13.8 . I am not understanding why is this.
Even I remove the old version
You can follow the step in free5GC user guide to reinstall go version:
- If another version of Go is installed, remove the existing version and install Go 1.21.8:
# this assumes your current version of Go is in the default location: sudo rm -rf /usr/local/go wget https://dl.google.com/go/go1.21.8.linux-amd64.tar.gz sudo tar -C /usr/local -zxvf go1.21.8.linux-amd64.tar.gz
I think the above instruction is enough to fix your problem. You can check your golang installation path and run above code.
Details in free5GC official site: 3 install free5gc - free5GC
thanks for the reply. I did it and after it I am getting 1.22.5 version now. but still when I do make I am getting same error
You can run go mod tidy
in every NFs you build failed.
For example:
cd NFs/amf
go mod tidy
Try sudo rm -rf $GOPATH
and run make
again.
Still the same problem
I was able to solve the problem but now when I am building the webconsole I am getting this error.
error3.txt (941 Bytes)