openapi-changes
openapi-changes copied to clipboard
Not working in docker image node:lts-slim
Version: 0.0.81
I try openapi-changes in docker node:lts-slim and I have the following error. It works nicely in node:lts-alpine and node:lts.
npx openapi-changes report https://example.com/api.json api.json
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [chan send]:
github.com/pb33f/openapi-changes/cmd.checkURL({0x7ffc12c51a54, 0x27}, 0xc00009e3f0)
/home/runner/work/openapi-changes/openapi-changes/cmd/summary.go:298 +0x1b7
github.com/pb33f/openapi-changes/cmd.GetReportCommand.func1(0xc000200608, {0xc000091720, 0x2, 0xe60111?})
/home/runner/work/openapi-changes/openapi-changes/cmd/report.go:133 +0x75a
github.com/spf13/cobra.(*Command).execute(0xc000200608, {0xc0000916a0, 0x2, 0x2})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1015 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0x1a43880)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1148 +0x46f
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1071
github.com/pb33f/openapi-changes/cmd.Execute({0x126ec1c?, 0x19?}, {0x127ab80?, 0xe6f58b?}, {0xc00002c860?, 0xc000002380?})
/home/runner/work/openapi-changes/openapi-changes/cmd/root.go:52 +0x91
main.main()
/home/runner/work/openapi-changes/openapi-changes/openapi-changes.go:29 +0x158
Errr... I am not sure what this could even be?