Closed Hunter-Github closed 8 years ago
thanks for reporting!
which version of wikidata-cli are you using? (that should be indicated in ~/.nodebrew/node/v5.11.1/props/node_modules/wikidata-cli/package.json
at "version")
1.7.1 at the moment.
could you try installing the debuggingIssue2 branch locally and see what it outputs?
git clone https://github.com/maxlath/wikidata-cli
cd wikidata-cli
git checkout debuggingIssue2
npm install
./bin/wdprops
Works fine now, even d/loads the necessary en.json.
so the cloned version works but not the global package version?
1.7.2 fails to track the paths: when I run the global wdprops
, it says no file at
~/.nodebrew/node/v5.11.1/props/node_modules/wikidata-cli/lib/en.json - note that it's not the path where the installation is supposed to go. The local cloned version works all right.
ok, I think 5d2ee23 should have fixed this issue, which was due to my lazyness to use a proper path resolution function, all my apologies for that >< I published the patch so you should be able to test it by upgrading to the last version.
Definitely fixed in 1.7.5.