BigBoyY opened a new issue #1939:
URL: https://github.com/apache/apisix-dashboard/issues/1939
## Issue description
When using the source build manager - API make build in. / API/build go
file 45th line
```
cd ./api && go build -o ../output/manager-api -ldflags "${GOLDFLAGS}"
./cmd/manager && cd ..
```
Go to import github.com/apisix/manager-api/ in the package
```
go build -o ../output/manager-api -ldflags '-X
github.com/apisix/manager-api/internal/utils.version=2.6 -X
github.com/apisix/manager-api/internal/utils.gitHash=73b5cfd' ./cmd/manager
cmd/manager/main.go:23:2: cannot find package
"github.com/apisix/manager-api/cmd" in any of:
/usr/local/go/src/github.com/apisix/manager-api/cmd (from $GOROOT)
/root/goweb/src/github.com/apisix/manager-api/cmd (from $GOPATH)
cp ./api/conf/schema.json ./output/conf/schema.json
cp: 无法获取"./api/conf/schema.json" 的文件状态(stat): 没有那个文件或目录
```
There is no project under github.com/apisix/. How should I build
## Expected behavior
make build
## How to Reproduce
1. git clone -b release/2.6 https://github.com/apache/apisix-dashboard.git
2. cd apisix-dashboard
3. make build
## Screenshots
<!-- Add screenshots to help explain your problem if applicable. -->
## Environment
* apisix version : 2.6
* OS : 6.1
* OpenResty / Nginx version: openresty/1.19.3.2
* etcd version: 3.4.13
* apisix-dashboard version: 2.6
## Additional context
<!-- Do you want to solve this issue? or add any other context about the
problem here. -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]