LiskArchive / lisk-ui

🖥️ Lisk user-interface submodule
https://lisk.io/
GNU General Public License v3.0
24 stars 33 forks source link

nmp install creates Permission Deinied #5

Closed 0xPaladin closed 8 years ago

0xPaladin commented 8 years ago

When I pulled independently - since git submodule public didn't work - to try to build lisk a lot of errors occurred on nmp install.

Permission denied and cannot read from remote repository.

maxkordek commented 8 years ago

Hello @nejt, please run sudo npm install.

maxkordek commented 8 years ago

@nejt Did it work and the problem was resolved?

0xPaladin commented 8 years ago

No...it did not. I tried to install as root, and even used sudo and it still gave me the errors. Sorry, it took me longer to return. I have been travelling.

root@lisk-01:~/lisk-ui# sudo npm install npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh:// git@github.com/LiskHQ/lisk-js.git /root/.npm/_git-remotes/ssh-git-github-com-Lis kHQ-lisk-js-git-415e429d: Cloning into bare repository '/root/.npm/_git-remotes/ ssh-git-github-com-LiskHQ-lisk-js-git-415e429d'... npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh:// git@github.com/LiskHQ/lisk-js.git /root/.npm/_git-remotes/ssh-git-github-com-Lis kHQ-lisk-js-git-415e429d: Permission denied (publickey). npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh:// git@github.com/LiskHQ/lisk-js.git /root/.npm/_git-remotes/ssh-git-github-com-Lis kHQ-lisk-js-git-415e429d: fatal: Could not read from remote repository. npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh:// git@github.com/LiskHQ/lisk-js.git /root/.npm/_git-remotes/ssh-git-github-com-Lis kHQ-lisk-js-git-415e429d: npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh:// git@github.com/LiskHQ/lisk-js.git /root/.npm/_git-remotes/ssh-git-github-com-Lis kHQ-lisk-js-git-415e429d: Please make sure you have the correct access rights npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh:// git@github.com/LiskHQ/lisk-js.git /root/.npm/_git-remotes/ssh-git-github-com-Lis kHQ-lisk-js-git-415e429d: and the repository exists. npm ERR! Linux 3.13.0-57-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! node v0.12.10 npm ERR! npm v2.14.9 npm ERR! code 128

npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh://git@github.com/LiskHQ/lisk-js.git /root/.npm/_git-remotes/ssh-git-github-com-LiskHQ-lisk-js-git-415e429d npm ERR! Cloning into bare repository '/root/.npm/_git-remotes/ssh-git-github-com-LiskHQ-lisk-js-git-415e429d'... npm ERR! Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /root/lisk-ui/npm-debug.log

I've tried in different directories. With different users. With sudo and without. Always the same errors.

maxkordek commented 8 years ago

@nejt, don't worry! :)

Seems like you don't have ssh and git installed/configured. This is necessary if you want to build it from the source code. (Later on with the binaries it isn't necessary)

Take a look at this video: https://www.youtube.com/watch?v=3_QBw6Qd-Lk

0xPaladin commented 8 years ago

OK...it looks like from the video I didn't gen an rsa key an link that to my github. You may want to include that step in your written instructions on the Lisk & github page.