HyperLedger Composer Failed to load connector module composer-connector-embedded for connection profile testprofile

0 votes

I am trying to test a composer but when i run 

npm test

I get the following error:

azureuser@hyperledger101:~/.nvm/v6.9.5/lib/node_modules/digitalproperty-network$ npm test

> digitalproperty-network@0.0.10 pretest /home/INTL/.nvm/v6.9.5/lib/node_modules/digitalproperty-network
> npm run lint


> digitalproperty-network@0.0.10 lint /home/INTL/.nvm/v6.9.5/lib/node_modules/digitalproperty-network
> eslint .


> digitalproperty-network@0.0.10 postlint /home/INTL/.nvm/v6.9.5/lib/node_modules/digitalproperty-network
> npm run licchk


> digitalproperty-network@0.0.10 licchk /home/INTL/.nvm/v6.9.5/lib/node_modules/digitalproperty-network
> license-check


> digitalproperty-network@0.0.10 postlicchk /home/INTL/.nvm/v6.9.5/lib/node_modules/digitalproperty-network
> npm run doc


> digitalproperty-network@0.0.10 doc /home/INTL/.nvm/v6.9.5/lib/node_modules/digitalproperty-network
> jsdoc --pedantic --recurse -c jsdoc.conf


> digitalproperty-network@0.0.10 test /home/INTL/.nvm/v6.9.5/lib/node_modules/digitalproperty-network
> mocha -t 0 --recursive



  DigitalLandTitle
    1) "before all" hook


  0 passing (2s)
  1 failing

  1) DigitalLandTitle "before all" hook:
     Error: Failed to load connector module "composer-connector-embedded" for connection profile "testprofile"
      at connectionProfileStore.load.then.e (/ho
Nov 2, 2018 in Blockchain by slayer
• 29,370 points
759 views

1 answer to this question.

0 votes

First, update your devDependencies in package.json

"devDependencies": {
...
"composer-admin": "latest",
"composer-client": "latest",
"composer-connector-embedded": "latest"
}

and then run npm install and then npm test again. This should work

answered Nov 2, 2018 by Omkar
• 69,220 points

Related Questions In Blockchain

0 votes
1 answer
+4 votes
2 answers

Hyperledger Fabric issue: orderer client failed to connect to orderer.xxx.net:7050: failed to create new connection

Hey @gujiwork, Try making the following changes: docker-compose-base.yaml and ...READ MORE

answered Nov 5, 2018 in Blockchain by Omkar
• 69,220 points
19,901 views
0 votes
2 answers
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

answered Nov 13, 2018 in Blockchain by Omkar
• 69,220 points
3,890 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
+1 vote
1 answer

I am unable to change port of composer-rest-server. Please help!

Use full format for running a business ...READ MORE

answered Mar 27, 2018 in Blockchain by Christine
• 15,790 points
1,127 views
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP