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" },