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 45e97ab4..7643b71c 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" },