IBM-Blockchain-Archive / ibm-blockchain-issues

Having issues with the IBM Blockchain Bluemix service? Let us know!
13 stars 12 forks source link

The problem when test Node SDK #118

Closed codeglzhang closed 6 years ago

codeglzhang commented 7 years ago

Hello, I have an Error according to the tutorial,when I execute node test/integration/e2e/create-channel.js. The error message is as follows:

module.js:471 throw err; ^

Error: Cannot find module './api.js' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/zhang/go/src/github.com/hyperledger/fabric-sdk-node/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:19:11) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)

I have been executed npm install -g gulp and npm install. I don't know how to solve. Could you help me?

dhyey20 commented 7 years ago

I think you need to run gulp ca.

codeglzhang commented 7 years ago

It is OK. Thanks