Closed prabak closed 2 years ago
Same problem, for now, i solved by deleting the dependency
npm uninstall yargs
and then
npm i --save yargs
after this, i linked the library with
npm link
and relinked in the new project
npm link curlconverter
And seems to work
@LucaGambaro That didn't help at all, I tried different versions as well and it still resulted in the same error.
Same problem, I could not solve
Same problem, the issue seems to arise from yargs
being pulled from a a git repo instead of npm.
According to https://stackoverflow.com/a/29380765 , this can be solved by saving GitHub's SSH key, like this
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
before running npm install curlconverter
.
We published our fork of yargs on npm as @curlconverter/yargs
, so it should no longer be possible for you to get this error if you upgrade to curlconverter 3.21.0+
Why did the
yargs
dependency change from"yargs": "github:NickCarneiro/yargs"
to"yargs": "git@github.com:NickCarneiro/yargs-ansi.git"
? My docker is erroring out now: