Hyperledger fabric 使用vscode在ibm区块链平台中运行invoke.js时出错?

Hyperledger fabric 使用vscode在ibm区块链平台中运行invoke.js时出错?,hyperledger-fabric,ibm-blockchain,Hyperledger Fabric,Ibm Blockchain,我一直在使用vs代码使用IBM区块链平台。一切正常,我可以连接到fabric local,但主要问题是在运行invoke.js时 Connected to Fabric gateway. 2019-10-24T03:40:03.358Z - error: [Channel.js]: Channel:mychannel received discovery error:access denied 2019-10-24T03:40:03.358Z - error: [Channel.js]: Err

我一直在使用vs代码使用IBM区块链平台。一切正常,我可以连接到fabric local,但主要问题是在运行invoke.js时

Connected to Fabric gateway.
2019-10-24T03:40:03.358Z - error: [Channel.js]: Channel:mychannel received discovery error:access denied
2019-10-24T03:40:03.358Z - error: [Channel.js]: Error: Channel:mychannel Discovery error:access denied
2019-10-24T03:40:03.358Z - error: [Network]: _initializeInternalChannel: Unable to initialize channel. Attempted to contact 1 Peers. Last error was Error: Channel:mychannel Discovery error:access denied
Error processing transaction. Error: Unable to initialize channel. Attempted to contact 1 Peers. Last error was Error: Channel:mychannel Discovery error:access denied
Error: Unable to initialize channel. Attempted to contact 1 Peers. Last error was Error: Channel:mychannel Discovery error:access denied
    at Network._initializeInternalChannel (/home/cybrosys/VSCodeLocalNetwork/node_modules/fabric-network/lib/network.js:112:12)
Disconnect from Fabric gateway.
done