Skip to content

Can't build EUPF #526

Closed
Closed

Description

@mandrade1stf

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
image

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

  1. pirog-spb commented on Jan 8, 2024

    @pirog-spb
    Collaborator

    Hi @mandrade1stf

    Please verify that previous step (go generate -v ./cmd/...) was successfully finished. Package eupf/cmd/docs is 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

  2. mandrade1stf commented on Jan 9, 2024

    @mandrade1stf
    Author

    I recive this error:
    cmd/main.go:25: running "swag": exec: "swag": executable file not found in $PATH

    I resolve with this command:

    export PATH=$(go env GOPATH)/bin:$PATH

    Thanks

  3. self-assigned this
    on Jan 14, 2024
  4. pirog-spb commented on Jan 14, 2024

    @pirog-spb
    Collaborator

    @mandrade1stf I've added hint to README concerning this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions