acheong08 / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【BUG】Failed to build

WaveBird opened this issue · comments

Got the following error

package freechatgpt
        imports github.com/acheong08/endless
        imports github.com/acheong08/endless/signals: build constraints exclude all Go files in /Users/{user_name}/go/pkg/mod/github.com/acheong08/endless@v0.0.0-20230529075213-74050cf641c8/signals

OS: MacOS m2, 13.3.1 (22E261)

What is your GOOS/GOARCH

They are empty, what should I set to?
What I have tried:

export GOOS=darwin
export GOARCH=arm64
go clean --modcache
go mode tidy

and I got the error

package freechatgpt
        imports github.com/acheong08/endless
        imports github.com/acheong08/endless/signals: build constraints exclude all Go files in /Users/xxx/go/pkg/mod/github.com/acheong08/endless@v0.0.0-20230529075213-74050cf641c8/signals

Thank you so much.