File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ function done(err, alreadyInstalled) {
378
378
} else if ( process . arch !== 'x64' ) {
379
379
packageUtil . error ( 'Pre-built binary packages are not available for architecture="' + process . arch + '"' ) ;
380
380
} else if ( [ '48' , '57' , '64' ] . indexOf ( process . versions . modules ) < 0 ) {
381
- packageUtil . error ( 'Pre-built binary packages are not available for this version of Node.js (NODE_MODULE_VERSION="' + process . versions . modules + '")' ) ;
381
+ packageUtil . error ( 'Pre-built binary packages are not available for Node.js ' + process . version + ' (NODE_MODULE_VERSION="' + process . versions . modules + '")' ) ;
382
382
}
383
383
packageUtil . error ( 'Failed to install binary package ' + packageUtil . dynamicProps . PACKAGE_FILE_NAME ) ;
384
384
packageUtil . error ( err . message ) ;
@@ -454,8 +454,8 @@ function install() {
454
454
455
455
const nodeMajorVersion = Number ( process . version . split ( '.' ) [ 0 ] . replace ( / ^ v / , '' ) ) ;
456
456
457
- if ( ! nodeMajorVersion >= 4 ) {
458
- done ( new Error ( 'Node.js v4 .0.0 or higher is required to install from binary ' ) ) ;
457
+ if ( ! nodeMajorVersion >= 6 ) {
458
+ done ( new Error ( 'Node.js v6 .0.0 or higher is required to install pre-built binaries ' ) ) ;
459
459
return ;
460
460
}
461
461
You can’t perform that action at this time.
0 commit comments