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

Error: Cannot find module 'grpc' #287

Open
yeonchoii opened this issue May 23, 2019 · 1 comment
Open

Error: Cannot find module 'grpc' #287

yeonchoii opened this issue May 23, 2019 · 1 comment

Comments

@yeonchoii
Copy link

Hello im blockchain novice student...!

$ node install_chaincode.js
getAdminSignedCertPEM()
internal/modules/cjs/loader.js:584
throw err;
^

Error: Cannot find module 'grpc'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/home/park/marbles/node_modules/fabric-ca-client/lib/Remote.js:19:12)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
How can i solve this problem..?
please help :(
thank you for my text~!

@dshuffma-ibm
Copy link
Contributor

you need to install the dependencies: https://github.com/IBM-Blockchain/marbles/blob/master/docs/host_marbles_locally.md

npm install should pass with no errors

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

2 participants