maxlath / wikibase-cli

read and edit a Wikibase instance from the command line
MIT License
226 stars 24 forks source link

Problem when I try to install Wikidata-cli #47

Closed ngonthier closed 6 years ago

ngonthier commented 6 years ago

Hi,

When I try to install wikidata-cli with this command on Ubuntu 16.04 "sudo npm install -g wikidata-cli" I get a message error of this kind : "npm ERR! code 1 npm ERR! Command failed: /usr/bin/git clone -q https://github.com/maxlath/commander.js.git /home/gonthier/.npm/_cacache/tmp/git-clone-a1c0dfdb npm ERR! /home/gonthier/.npm/_cacache/tmp/git-clone-a1c0dfdb/.git: Permission non accordée "

It seems to be a permission denied error.

You can found the log file attached.

Do you have any idea of the origin of this problem ?

Thanks, 2017-12-22T12_47_59_002Z-debug.log

maxlath commented 6 years ago

hello, can you try to re-install now? the issue might have been fixed by 2db8079 and published as v5.7.2

ngonthier commented 6 years ago

Hello,

I have re-install nodejs with nvm and then the last version of wikidata-cli with nvm too and that works fine.

Thanks a lot.