mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Bump minimum nodejs version supported to match documented value
This commit is contained in:
parent
010c8eccc8
commit
a95be2aa43
2
packages/node_modules/node-red/lib/red.js
vendored
2
packages/node_modules/node-red/lib/red.js
vendored
@ -33,7 +33,7 @@ if (NODE_MAJOR_VERSION > 14) {
|
|||||||
|
|
||||||
function checkVersion(userSettings) {
|
function checkVersion(userSettings) {
|
||||||
var semver = require('semver');
|
var semver = require('semver');
|
||||||
if (!semver.satisfies(process.version,">=12.0.0")) {
|
if (!semver.satisfies(process.version,">=14.0.0")) {
|
||||||
// TODO: in the future, make this a hard error.
|
// TODO: in the future, make this a hard error.
|
||||||
// var e = new Error("Unsupported version of Node.js");
|
// var e = new Error("Unsupported version of Node.js");
|
||||||
// e.code = "unsupported_version";
|
// e.code = "unsupported_version";
|
||||||
|
Loading…
Reference in New Issue
Block a user