Skip to content

season179/serverless-dgraph-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is created to show fellow engineers who are helping with troubleshooting a gRPC issue that I'm facing.

Error:

offline: Failure: Failed to load /Users/season/Repos/serverless-dgraph-js/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node. Module did not self-register: '/Users/season/Repos/serverless-dgraph-js/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node'.
Error: Failed to load /Users/season/Repos/serverless-dgraph-js/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node. Module did not self-register: '/Users/season/Repos/serverless-dgraph-js/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node'.

Steps to reproduce

Assuming you have a local dgraph running.

  1. run npm install
  2. run serverless offline
  3. post a GraphQL mutation to http://localhost:3000/dev/graphql using app like insomnia
mutation ($input: [UserInput!]!) {
  addUser(input: $input)
}
{
	"input": [
		{
			"name": "John",
			"age": 30
		}
	]
}
  1. repeat step no. 3 and the error should show up.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published