How to solve EACCES permission denied error in Hyperledger Composer

0 votes

i am getting the following error when i try to run hyperledger composer project runner. How can i solve this?

Error: Error trying login and get user Context.
Error: EACCES: permission denied, open '/Users/amarjeetsinghmundi/.composer-credentials/0e69a271fc424d83045600059f44aa23d06eefba78c8acf660f0da5e5397309b-pub' at client.getUserContext.then.then.catch (/usr/local/lib/node_modules/generator-hyperledger-composer/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:292:34)

Jul 11, 2018 in Blockchain by slayer
• 29,370 points
2,481 views

1 answer to this question.

–1 vote
It seems like there is no required permission to execute that command successfully.. You might have used sudo while installing npm. Try uninstalling it and re-install it without using sudo when running npm install or running composer commands.
answered Jul 11, 2018 by digger
• 26,740 points
Hello Digger, I've tried it almost 15 to 20 times of installation and uninstallation of npm. It's not supporting without sudo command too...
Hi. Could you please post what error you are getting?

Related Questions In Blockchain

0 votes
1 answer

How to solve "error trying install composer runtime" in Hyperledger composer?

I think the docker-compose tool is not ...READ MORE

answered Jul 17, 2018 in Blockchain by slayer
• 29,370 points
913 views
0 votes
1 answer

Error while trying to create dir if missing: mkdir /var/hyperledger: permission denied

The following commands should help: sudo mkdir -p ...READ MORE

answered Jul 6, 2018 in Blockchain by Christine
• 15,790 points
1,941 views
0 votes
1 answer

How to solve Runtime error when querying Hyperledger?

OCI is open container initiative.. The error ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,370 points
992 views
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

answered Jul 16, 2018 in Blockchain by slayer
• 29,370 points
12,035 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,479 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,157 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