From 2581a1bed94d2ed423d8518e91d4d4e3f2380bfa Mon Sep 17 00:00:00 2001 From: Adam Eivy Date: Thu, 9 Oct 2014 14:52:43 -0700 Subject: [PATCH] adding support for node 0.11 and better error logging --- sysinfo.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sysinfo.js b/sysinfo.js index 2318e74..fd56107 100644 --- a/sysinfo.js +++ b/sysinfo.js @@ -8,7 +8,8 @@ module.exports = function() { var availableVersionPaths = [ // currently 0.10.x is enough (currently look for Meteor) - [/v0\.10\..*/, '0.10'] + [/v0\.10\..*/, '0.10'], + [/v0\.11\..*/, '0.11'] ]; var platform = (process.platform == "solaris")? "sunos": process.platform; @@ -31,8 +32,8 @@ module.exports = function() { return require(path); } catch(ex) { console.warn( - 'usage: cannot find pre-compiled binary for: %s/%s/%s', - platform, arch, version + 'usage: cannot find pre-compiled binary for %s: %s/%s/%s', + version, platform, arch, versionPath ); throw ex; }