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

GRPC node missing #66

Open
msanzn opened this issue Jun 24, 2020 · 2 comments · May be fixed by LearningLocker/learninglocker#1600
Open

GRPC node missing #66

msanzn opened this issue Jun 24, 2020 · 2 comments · May be fixed by LearningLocker/learninglocker#1600

Comments

@msanzn
Copy link

msanzn commented Jun 24, 2020

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.

@ghost
Copy link

ghost commented Aug 4, 2020

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 LearningLocker/learninglocker@bec94da, this deploy script will not work with the current master branch (the deployment default) as it installs mongo 4.0 by default.

@Swampr
Copy link

Swampr commented Oct 3, 2020

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.

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

Successfully merging a pull request may close this issue.

2 participants