99designs / 99designs/gqlgen

Fail go run github.com/99designs/gqlgen init

Open
#2,404 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.8k
Forks
1.3k
Avg merge
2d 36m
Merged PRs (30d)
26

Description

### What happened?

On mac m1 can not init gqlgen.

### What did you expect?

Tutorial to solve problem

### Init gqlgen

go run github.com/99designs/gqlgen init
Creating gqlgen.yml
Creating graph/schema.graphqls
Creating server.go
Generating...
validation failed: packages.Load: /opt/homebrew/Cellar/go/1.19.2/libexec/src/runtime/cgo/cgo.go:33:8: could not import C (no metadata for C)
/opt/homebrew/Cellar/go/1.19.2/libexec/src/net/cgo_bsd.go:12:8: could not import C (no metadata for C)

### versions
- `go run github.com/99designs/gqlgen version`?
- latest
- `go version`?
- 1.19.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.