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

Cannot find module 'src/node/extension_binary/grpc_node.node' #99

Open
xuqingsz opened this issue Mar 1, 2017 · 2 comments
Open

Cannot find module 'src/node/extension_binary/grpc_node.node' #99

xuqingsz opened this issue Mar 1, 2017 · 2 comments

Comments

@xuqingsz
Copy link

xuqingsz commented Mar 1, 2017

Hi,

I finished the setup, i.e. running the start.sh. Was trying to call the app from CLI:
% node app.js
and got the error message
Error: Cannot find module '/root/go/src/github.com/xuqingsz/car-lease-demo/node_modules/grpc/src/node/extension_binary/grpc_node.node'

Tried to work around the issue by applying suggestions online, e.g. adding --unsafe-perm (was running as root), etc, and none of them worked. Please advise.

Also, I could not figure out on what to do after start.sh from the Installation Guide, hence made the assumption that the next step would be running app.js. Please correct me if I am wrong, although this may be separate from the missing module problem?

Thanks.

@liam-grace
Copy link
Contributor

liam-grace commented Mar 14, 2017

That looks like it may be a system problem. Can you give any more information about the system you are trying to run on?
start.sh will start the car lease demo as a set of docker images, one for the fabric peer, one for the fabric member service and the last is for the car lease demo itself. This is all configured in the docker-compose.yml file

@advissor
Copy link

i've had this issue when building marbles fabric app.
gulp marbles1 showed up same error .
Neither RAM increase , neither -unsafe-perm helped.

Issue was resolved by executing : npm rebuild
P.S Not sure how relevant it is for your case, but maybe it would be heplful for someone

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

No branches or pull requests

3 participants