maxlath / wikibase-cli

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

Cannot find module '../lib/sub_command #94

Closed VladimirAlexiev closed 4 years ago

VladimirAlexiev commented 4 years ago
> wd f google -v
{ Error: Cannot find module '../lib/sub_command'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at lightGet.then.body (C:\Users\vladimir.alexiev.000\AppData\Roaming\npm\node_modules\wikibase-cli\bin\wb-search:73:5)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) code: 'MODULE_NOT_FOUND' }

Note: wd f google without -f works fine.

maxlath commented 4 years ago

this should have been fixed by 0eae317 and thus be working in versions >= v8.1.1

VladimirAlexiev commented 4 years ago

works in wikibase-cli@8.2.0