毛刺nodejs服务器出错[无法加载gRPC二进制模块]

时间:2018-06-13 01:26:15

标签: node.js glitch-framework

我在故障服务器中收到此错误,我不知道如何解决它。我做了一个npm重建,因为错误建议然而这也没有帮助。以下是我得到的错误:

/rbd/pnpm-volume/888dea45-bd28-4c6e-ab25-0dd0b8020a12/node_modules/.registry.npmjs.org/grpc/1.11.3/node_modules/grpc/src/grpc_extension.js:55

throw error;

^


Error: Failed to load gRPC binary module because it was not installed for the current system

Expected directory: node-v59-linux-x64-glibc

Found: [node-v57-linux-x64-glibc]

This problem can often be fixed by running "npm rebuild" on the current system

Original error: Cannot find module '/rbd/pnpm-volume/888dea45-bd28-4c6e-ab25-0dd0b8020a12/node_modules/.registry.npmjs.org/grpc/1.11.3/node_modules/grpc/src/node/extension_binary/node-v59-linux-x64-glibc/grpc_node.node'

at Object.<anonymous> (/rbd/pnpm-volume/888dea45-bd28-4c6e-ab25-0dd0b8020a12/node_modules/.registry.npmjs.org/grpc/1.11.3/node_modules/grpc/src/grpc_extension.js:53:17)

at Module._compile (internal/modules/cjs/loader.js:654:30)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)

at Module.load (internal/modules/cjs/loader.js:566:32)

at tryModuleLoad (internal/modules/cjs/loader.js:506:12)

at Function.Module._load (internal/modules/cjs/loader.js:498:3)

at Module.require (internal/modules/cjs/loader.js:598:17)

at require (internal/modules/cjs/helpers.js:11:18)

at Object.<anonymous> (/rbd/pnpm-volume/888dea45-bd28-4c6e-ab25-0dd0b8020a12/node_modules/.registry.npmjs.org/grpc/1.11.3/node_modules/grpc/src/client_interceptors.js:145:12)

at Module._compile (internal/modules/cjs/loader.js:654:30)

0 个答案:

没有答案