node-nightly icon indicating copy to clipboard operation
node-nightly copied to clipboard

"Please check your internet connectivity" error message

Open orgbx opened this issue 9 years ago • 2 comments

Hi, I can't run node-nightly as it thinks I'm offline (@ home, @ work, with WiFi or wired).

~ ❯❯❯ node-nightly --upgrade
Checking for update...
You are using latest version already.
~ ❯❯❯ node-nightly
Downloading the nightly version, hang on...
 Please check your internet connectivity.
~ ❯❯❯ node -v
v6.7.0

It seems that the connectivity check is failing (sindresorhus/is-online#29 maybe) although I'm on OS X 10.11.6.

Commenting the reportIfOffline() function call fixed it for me.

~ ❯❯❯ node-nightly
Downloading the nightly version, hang on...
node-nightly is available on your CLI!
~ ❯❯❯ node-nightly
> console.log('awesome')
awesome

orgbx avatar Nov 25 '16 10:11 orgbx

It worked for me as well. Thanks

metajunaid avatar Sep 12 '19 15:09 metajunaid

works for me, thanks

robin-shine avatar Nov 27 '19 02:11 robin-shine