Closed bzg closed 7 years ago
thanks for reporting!
It seems lib/get_folder_path.js
is to blame: it tries to get access rights on a folder that wasn't previously created. I'm working on a patch.
Meanwhile, it should be solved by running mkdir ~/.config/wikidata-cli
Thanks for the quick reply, I confirm the quick fix!
@bzg v4.5.1 ships with the patch, you can get it by running sudo npm install -g wikidata-cli@latest
. You don't really need it though, now that you created the folder.
Thanks!
After installing with
sudo npm install -g wikidata-cli
I get this error when runningwd config
or other commands presented in theREADME.md
- any idea what I'm doing wrong?node -v
(throughnvm
) is 6.8.1