Ошибка на сервере glitch nodejs [Не удалось загрузить двоичный модуль gRPC]
Я получаю эту ошибку на своем сервере сбоя, и я не знаю, как я могу ее решить. Я сделал npm rebuild, поскольку предложенная ошибка, однако, тоже не помогла. Ниже приведена ошибка, которую я получаю:
/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)