Akarsh Agarwal
1 min readJul 26, 2018

--

Here is what I found:

It turns out that, when we try to run the command:

`node test/integration/e2e.js`

It fails with an error:

`./api.js` file not found on Line 19:11

In the file, `fabric-ca-client/lib/FabricCAClientImpl.js`

Upon careful examination I found that, it should have been:

var api = require(‘fabric-client/lib/api.js’);
var utils = require(‘fabric-client/lib/utils.js’);
var BaseClient = require(‘fabric-client/lib/BaseClient.js’);

Also, for the `fabric-ca-client/IdentityService.js`:

Line 19 should be:
const logger = require(‘fabric-client/lib/utils.js’).getLogger(‘IdentityService’);

Similarly, for the `fabric-ca-client/AffiliationService.js`:

Line 19 should be:
const logger = require(‘fabric-client/lib/utils.js’).getLogger(‘AffiliationService’);

I have created a JIRA issue on the project: FABN-836

--

--

Akarsh Agarwal
Akarsh Agarwal

Written by Akarsh Agarwal

All about Distributed Systems and Stakeholder Management. #golang #distributedsystems #management

No responses yet