react-slingshot: Can't install dependencies using yarn

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".

About this issue

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

Most upvoted comments

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

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

may want to blank out (& regen) that authtoken.