Open msanzn opened 4 years ago
Their Node v10 dependency chain is completely broken. Try LL 5.x instead until they have fixed their stuff (probably never, can't speak for enterprise). Likewise, because of https://github.com/LearningLocker/learninglocker/commit/bec94daa7bd602a4752ca570db03b13e9c02d037, this deploy script will not work with the current master branch (the deployment default) as it installs mongo 4.0 by default.
I was recently able to install it on Ubuntu 20.04 by bumping up "@google-cloud/pubsub": "^0.16.1" to version 0.32.1. I'll try to see if I can do a pull request.
I am trying to install the Learning locker in my ubuntu 18 machine and when installing there is an error when PM2 process start, all the process fail, and the error that appear is:
uncaughtException: 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-20200624-c3283fe44f2ac3bee713a505821a39beef55ea38_1/webapp/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node'
I tried with the npm rebuilt but it does not solve the error. When I look into the src there is no folder and looking for the grpc_node.node file in the computer does retrieve that it is in the /usr/local/learninglocker/releases/ll-20200623-c3283fe44f2ac3bee713a505821a39beef55ea38/webapp/node_modules/grpc/build/Release instead of in the previous location.