Skip to content

Update package.json

Compare
Choose a tag to compare
@rddill-IBM rddill-IBM released this 26 Oct 20:02
· 4 commits to master since this release

Update package.json to use fabric-client v 1.2.2 explicitly. This applies to all chapters and resolves the following error:

Error: Cannot find module 'fabric-client/lib/EventHub'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/rddill/Documents/github/z2b-test/Chapter05/controller/restapi/features/composer/queryBlockChain.js:25:15)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)