dgraph-lambda-go icon indicating copy to clipboard operation
dgraph-lambda-go copied to clipboard

exit 1 --- no error printed..

Open nargetdev opened this issue 3 years ago • 0 comments

I'm not entirely sure how to debug this one, but it seems to be crashing in this call in ./internal/packages.go

	defaultPackage, err := config.Packages.Load(defaultModelPath)

I noticed that if the lambda directory is deleted, and then init and generate are called, it is possible to successfully generate as long as schema.graphql is incredibly simple.

I made a "sanity check" instance at the following URL which can bootstrap a dgraph and lambda instance in the docker-compose.yaml

https://github.com/nargetdev/go-lambda-sanity-check

I'd love to hear your thoughts @Schartey --- am I barking up the wrong tree here? Should I ditch main entirely and just focus on next? Do you have any documentation for next? Is the interface the same (i.e. run init and then generate)? I haven't had success with next yet, but I also have never used WASM..

Cheers mate, thanks for creating this project.

nargetdev avatar Dec 13 '22 20:12 nargetdev