You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
I can't build EUPF
To Reproduce
I use steps to build, but:
root@open5gs-iperf04-6589c5768d-8szmr:/eupf# go build -v -o bin/eupf ./cmd/
cmd/api/rest/handler.go:8:2: no required module provides package github.com/edgecomllc/eupf/cmd/docs; to add it:
go get github.com/edgecomllc/eupf/cmd/docs
root@open5gs-iperf04-6589c5768d-8szmr:/eupf# go get github.com/edgecomllc/eupf/cmd/docs
go: github.com/edgecomllc/eupf/cmd/docs: no matching versions for query "upgrade"
root@open5gs-iperf04-6589c5768d-8szmr:/eupf#
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Logs
If applicable, add logs to help explain your problem.
Environment (please complete the following information):
OS: [ubuntu]
5GC kind and version [ open5gs]
UPF version [last]
Additional context
Add any other context about the problem here.
Activity
pirog-spb commentedon Jan 8, 2024
Hi @mandrade1stf
Please verify that previous step (
go generate -v ./cmd/...) was successfully finished. Packageeupf/cmd/docsis genereted during that step.If you have swag utility error there, check that swag was installed and path to swag binary is in $PATH env variable.
--BR Alex
mandrade1stf commentedon Jan 9, 2024
I recive this error:
cmd/main.go:25: running "swag": exec: "swag": executable file not found in $PATHI resolve with this command:
export PATH=$(go env GOPATH)/bin:$PATHThanks
pirog-spb commentedon Jan 14, 2024
@mandrade1stf I've added hint to README concerning this issue.