From 4e1d357f880f6da987c2c78af522ac8b69c913aa Mon Sep 17 00:00:00 2001 From: Avital Oliver Date: Fri, 25 Jan 2013 11:31:31 -0800 Subject: [PATCH] ping registry.npm.js.org to tell whether we can install npm dependencies --- lib/meteor_npm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/meteor_npm.js b/lib/meteor_npm.js index 9e4766c053..f762941533 100644 --- a/lib/meteor_npm.js +++ b/lib/meteor_npm.js @@ -234,7 +234,7 @@ var meteorNpm = module.exports = { // dependencies. `npm install` times out after more than a minute. _ensureConnected: function () { try { - Future.wrap(files.getUrl)("http://npmjs.org").wait(); + Future.wrap(files.getUrl)("http://registry.npmjs.org").wait(); } catch (e) { throw new Error( "Can't install npm dependencies. Check your internet connection and try again.");