Closed VladimirAlexiev closed 4 years ago
nvm
instead of npm
as in #47 ?commander.js
as a npm module instead of directly from git?which version of npm are you using? some old versions of npm were struggling with git dependencies, and that was solved with nvm as it installed a more recent version of npm.
As for why the git dependency, I use a fix and a custom feature that are missing on commander
hi @maxlath thanks for looking into this!
I got the latest version:
npm --version 6.11.3
So using nvm won't help in this case?
I see that NPM tried to create this file, with an unprintable Unicode char and missing slashes:
c:\my\CUsersvladimir.alexiev.000AppDataRoamingnpm-cache_cacachetmpgit-clone-5c9e9ded
I replaced the git dependency by a scoped patched package and published it in v8.1.0
: could you try to install it to see if the issue is resolved?
@maxlath Thanks a lot, works like a charm!!
$ npm install -g wikibase-cli C:\Users\vladimir.alexiev.000\AppData\Roaming\npm\wb -> C:\Users\vladimir.alexiev.000\AppData\Roaming\npm\node_modules\wikibase-cli\bin\wb C:\Users\vladimir.alexiev.000\AppData\Roaming\npm\wd -> C:\Users\vladimir.alexiev.000\AppData\Roaming\npm\node_modules\wikibase-cli\bin\wd + wikibase-cli@8.1.0 added 92 packages from 78 contributors in 15.983s
(Note: https://github.com/maxlath/wikibase-cli/releases is 2 years old; since you now release on npm, maybe you can somehow mark this page as obsolete? Maybe mention it in README.md)
@VladimirAlexiev I updated the Github release page, and it should now (1eae62b) be automatically updated
I'm trying to install on windows and I have cygwin. I've tried this from
cmd
orbash
:And in both cases I get these errors:
(I can attach the complete log C:\Users\vladimir.alexiev.000\AppData\Roaming\npm-cache_logs\2019-10-04T07_00_10_884Z-debug.log if needed).
/cygdrive/c/
andC:\
mean basically the same thing but in cygwin'ish vs dos'ish. So I can't figure out what tries to double the target path.I tried this command manually:
It works in cygwin but in cmd it tries to prepend the cwd and fails: