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,050 points
295 views

1 answer to this question.

0 votes
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
• 27,620 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,050 points
66 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
40 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,050 points
210 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,050 points
671 views
0 votes
1 answer
+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
247 views
+1 vote
1 answer