LearningLocker / learninglocker

Learning Locker - The Open Source Learning Record Store. Started in 2014.
https://learningpool.com/solutions/learning-record-store-learning-locker/learning-locker-community-overview/
GNU General Public License v3.0
555 stars 277 forks source link

Ubuntu20 install faild #1628

Open changWEit opened 1 year ago

changWEit commented 1 year ago

I used ubuntu20, installed node10 with nvm, and installed it with an automatic installation script, and finally reported an error:

stack: [ 'Error: The gRPC binary module was not installed. This may be fixed by running "npm rebuild"', 'Original error: Cannot find module \'/usr/local/learninglocker/releases/ll-20230412-5fec948a823e372e740df521aa3684c8df1dcba7/webapp/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node\'', ' at Object.<anonymous> (/usr/local/learninglocker/releases/ll-20230412-5fec948a823e372e740df521aa3684c8df1dcba7/webapp/node_modules/google-gax/node_modules/grpc/src/grpc_extension.js:43:17)', ' at Module._compile (internal/modules/cjs/loader.js:778:30)', ' at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)', ' at Module.load (internal/modules/cjs/loader.js:653:32)', ' at tryModuleLoad (internal/modules/cjs/loader.js:593:12)', ' at Function.Module._load (internal/modules/cjs/loader.js:585:3)', ' at Module.require (internal/modules/cjs/loader.js:692:17)', ' at require (internal/modules/cjs/helpers.js:25:18)', ' at Object.<anonymous> (/usr/local/learninglocker/releases/ll-20230412-5fec948a823e372e740df521aa3684c8df1dcba7/webapp/node_modules/google-gax/node_modules/grpc/src/client.js:37:12)', ' at Module._compile (internal/modules/cjs/loader.js:778:30)', ' at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)', ' at Module.load (internal/modules/cjs/loader.js:653:32)', ' at tryModuleLoad (internal/modules/cjs/loader.js:593:12)', ' at Function.Module._load (internal/modules/cjs/loader.js:585:3)', ' at Module.require (internal/modules/cjs/loader.js:692:17)', ' at require (internal/modules/cjs/helpers.js:25:18)', ' at Object.<anonymous> (/usr/local/learninglocker/releases/ll-20230412-5fec948a823e372e740df521aa3684c8df1dcba7/webapp/node_modules/google-gax/node_modules/grpc/index.js:30:14)', ' at Module._compile (internal/modules/cjs/loader.js:778:30)', ' at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)', ' at Module.load (internal/modules/cjs/loader.js:653:32)', ' at tryModuleLoad (internal/modules/cjs/loader.js:593:12)', ' at Function.Module._load (internal/modules/cjs/loader.js:585:3)' ] } (node:298713) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.