Closed Celeo closed 1 year ago
After cf862225d7a4a0d4ff08387c12bcf8ddcde4137e, I'm unable to run the server.
api on dev via 🐹 v1.20.6 ❯ make build && ./out/api server bash scripts/build + [[ -d out ]] + rm -rf out + binaries=(envsubst api) + for binary in "${binaries[@]}" + CGO_ENABLED=0 + GOOS=linux + GOARCH=amd64 + go build -o out/envsubst cmd/envsubst/main.go + for binary in "${binaries[@]}" + CGO_ENABLED=0 + GOOS=linux + GOARCH=amd64 + go build -o out/api cmd/api/main.go + static_files=(boundaries.json init.sh config.yaml.example) + static_dirs=(static docs) + for file in "${static_files[@]}" + cp boundaries.json out/boundaries.json + for file in "${static_files[@]}" + cp init.sh out/init.sh + for file in "${static_files[@]}" + cp config.yaml.example out/config.yaml.example + for dir in "${static_dirs[@]}" + cp -Rp static out/static + for dir in "${static_dirs[@]}" + cp -Rp docs out/docs panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1e0 pc=0x10a07e4] goroutine 1 [running]: github.com/adh-partnership/api/internal/v1/router.init.0() /home/matt/code/denver_artcc/api/internal/v1/router/router.go:36 +0x1e4
Same for go build cmd/api && ./out/api server and go run cmd/api/main.go server. I tried deleting my project directory and recloning without success.
go build cmd/api && ./out/api server
go run cmd/api/main.go server
After cf862225d7a4a0d4ff08387c12bcf8ddcde4137e, I'm unable to run the server.
Same for
go build cmd/api && ./out/api server
andgo run cmd/api/main.go server
. I tried deleting my project directory and recloning without success.