From c0fc4c7a86e42c7b4fcbb689554752d683c1411f Mon Sep 17 00:00:00 2001 From: "Jose A. Rivera" Date: Thu, 4 Aug 2016 15:48:41 -0500 Subject: [PATCH 1/2] Fix URL in package.json The dependency on status-message-polyfill appeared to be missing part of its URL, judging by the rest of the file. Changing this line allowed me to build and install on a self-hosted server. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cc65b03f..cc23710d 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "socket.io": "^1.4.0", "socket.io-redis": "^1.0.0", "source-map-support": "^0.4.0", - "status-message-polyfill": "calzoneman/status-message-polyfill", + "status-message-polyfill": "git://github.com/calzoneman/status-message-polyfill", "uuid": "^2.0.1", "yamljs": "^0.1.6" }, From da99ea8288441dda96beda2192af9d9d2791dbde Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 4 Aug 2016 19:00:20 -0700 Subject: [PATCH 2/2] Add node version check to index.js --- index.js | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a364c7a1..8a22f774 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,10 @@ +if (/^v0/.test(process.version)) { + console.error('node.js ' + process.version + ' is not supported. ' + + 'For more information, visit ' + + 'https://github.com/calzoneman/sync/wiki/CyTube-3.0-Installation-Guide#nodejs'); + process.exit(1); +} + try { var Server = require("./lib/server"); } catch (err) { diff --git a/package.json b/package.json index cc23710d..49e56c54 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.18.7", + "version": "3.18.8", "repository": { "url": "http://github.com/calzoneman/sync" },