question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't install dependency yargs in docker

See original GitHub issue

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:

#20 20.53 npm ERR! prepareGitDep npm ERR! Error while executing:
#20 20.53 npm ERR! prepareGitDep npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/NickCarneiro/yargs-parser-ansi.git
#20 20.53 npm ERR! prepareGitDep npm ERR!
#20 20.53 npm ERR! prepareGitDep npm ERR! Host key verification failed.
#20 20.53 npm ERR! prepareGitDep npm ERR! fatal: Could not read from remote repository.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
arshxyzcommented, Jun 19, 2021

Same problem, the issue seems to arise from yargs being pulled from a a git repo instead of npm.

0reactions
verhovskycommented, Oct 21, 2021

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+

Read more comments on GitHub >

github_iconTop Results From Across the Web

can't install dependency yargs in docker · Issue #261 - GitHub
Same problem, the issue seems to arise from yargs being pulled from a a git repo instead of npm. 2
Read more >
Problem when I execute npm install on docker - Stack Overflow
npm install is falling while installing node-sass . I have faced this issue personally many times and npm rebuild node-sass command always ...
Read more >
Cannot find module 'yargs' error [Solved] | bobbyhadz
To solve the error "Cannot find module 'yargs'", make sure to install the yargs package by opening your terminal in your project's root...
Read more >
Fixing security vulnerabilities in npm dependencies in less ...
In my case mocha(7.1.0) -> mkdirp(0.5.1) -> minimist(0.0.8) — the vulnerable version. Resolutions key. 3) And finally the fix was: 3.1) First npm...
Read more >
yargs - npm
Yargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface. It gives you:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found