Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module load err #32

Closed
NeoyeElf opened this issue May 21, 2020 · 2 comments
Closed

module load err #32

NeoyeElf opened this issue May 21, 2020 · 2 comments

Comments

@NeoyeElf
Copy link
Contributor

My worker.js have require files which use grpc lib, and an error occurs when I start to run my program

Error: Failed to load /path-to-my-work-space/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node. Module did not self-register: '/path-to-my-work-space/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node'. at Object.Module._extensions..node (internal/modules/cjs/loader.js:1183:18)\n at Module.load (internal/modules/cjs/loader.js:977:32)\n at Function.Module._load (internal/modules/cjs/loader.js:877:14)\n at Module.require (internal/modules/cjs/loader.js:1019:19)\n at require (internal/modules/cjs/helpers.js:77:18)\n at Object. (/path-to-my-work-space/node_modules/grpc/src/grpc_extension.js:32:13)\n at Module._compile (internal/modules/cjs/loader.js:1133:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)\n at Module.load (internal/modules/cjs/loader.js:977:32)\n at Function.Module._load (internal/modules/cjs/loader.js:877:14)\n at Module.require (internal/modules/cjs/loader.js:1019:19)\n at require (internal/modules/cjs/helpers.js:77:18)\n at Object. (/path-to-my-work-space/node_modules/grpc/src/client_interceptors.js:144:12)\n at Module._compile (internal/modules/cjs/loader.js:1133:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)\n at Module.load (internal/modules/cjs/loader.js:977:32)

any ideas? Is it possible that this error is related to the C++ addon using by grpc lib?

@NeoyeElf
Copy link
Contributor Author

it seems related to grpc/grpc-node#778. I will try to replace the grpc to @grpc/grpc-js

@pioardi
Copy link
Contributor

pioardi commented May 21, 2020

Ok , going to close the isse since it does not seems related to poolifier

@pioardi pioardi closed this as completed May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants