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 dependencies using yarn

See original GitHub issue

Node version: 6.9.1 npm version: 3.10 yarn version: 0.22.0 Operating system: MacOs

Command line used: yarn

It throws the below error:

[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://artifacts.bos.rapid7.com/nexus/content/groups/npm-all/extract-text-webpack-plugin/-/extract-text-webpack-plugin-2.1.0.tgz: getaddrinfo ENOTFOUND artifacts.bos.rapid7.com artifacts.bos.rapid7.com:443".

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
GeorgeKaraszicommented, Sep 1, 2018

Hey this is kind of an old issue. But I came across the same exact problem. In my case it had todo with how my Mac was caching DNS’s.

After running sudo killall -HUP mDNSResponder I was able to install without issue.

More related commands to flushing your given OS network cache: https://documentation.cpanel.net/display/CKB/How+To+Clear+Your+DNS+Cache

1reaction
zbsedefiancommented, Sep 2, 2018

Tried what you suggested GeorgeKaraszi, didn’t work for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Yarn install does not install missing modules in node_modules
What is the current behavior? Missing module directories in node_modules are not installed when running yarn install after you get the message " ......
Read more >
Installing dependencies | Yarn
yarn install is used to install all dependencies for a project. The dependencies are retrieved from your project's package.json file, and stored in...
Read more >
Yarn install, not able to install all dependencies in my project
I cloned a project from gitlab and tried to install the dependencies using yarn install command. But ...
Read more >
yarn - Installing dependencies and working with version control
In this tutorial we will show you how to install dependencies as well as what the files in a version control should contain....
Read more >
npm, pnpm, and Yarn | WebStorm Documentation - JetBrains
With Yarn, you can install packages globally or as project dependencies, see Yarn official website for details. In WebStorm, packages can be ...
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