Skip to content

Commit

Permalink
docs: add remark about "swag not found error" to README (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog-spb authored Jan 14, 2024
1 parent fff57da commit 4cc20a3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,17 @@ cd eupf
go generate -v ./cmd/...
```

Sometimes during this step you may see errors like:
```
running "swag": exec: "swag": executable file not found in $PATH
```

Make sure that `swag` was successfuly installed(step 1) and path to swag binary is in the PATH environment variable.

Usually GO Path is supposed to already be on the PATH environment variable.
Use `export PATH=$(go env GOPATH)/bin:$PATH` otherwise and repeat current step again.


#### Step 4: Build eUPF

```bash
Expand Down

0 comments on commit 4cc20a3

Please sign in to comment.