mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-02 02:21:14 +01:00
re: #4956, made it a recommendation instead, not a hard requirement
This commit is contained in:
5
app.js
5
app.js
@@ -359,8 +359,7 @@ function versionCheck() {
|
||||
var compatible = semver.satisfies(version, range);
|
||||
|
||||
if (!compatible) {
|
||||
winston.error('Your version of Node.js is too outdated for NodeBB. Please update your version of Node.js.');
|
||||
winston.error('Requires ' + range.green + ', '.reset + version.yellow + ' provided\n'.reset);
|
||||
process.exit(1);
|
||||
winston.warn('Your version of Node.js is too outdated for NodeBB. Please update your version of Node.js.');
|
||||
winston.warn('Recommended ' + range.green + ', '.reset + version.yellow + ' provided\n'.reset);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user