I also tried running the simplified version below and it still gives the same error. So it must be flags coming from napi-go? I'm on go 1.20.1.
go build cmd/main.go
I also tried running the simplified version below and it still gives the same error. So it must be flags coming from napi-go? I'm on go 1.20.1.
`go build cmd/main.go`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I run the command below and it fails with the error given. Any ideas?
go build -buildmode=c-shared -o "example.node" cmd/main.goI also tried running the simplified version below and it still gives the same error. So it must be flags coming from napi-go? I'm on go 1.20.1.
go build cmd/main.goHad to run
CGO_LDFLAGS_ALLOW=-Wl,-no_pie go build -buildmode=c-shared -o "example.node" ./cmdand it works