lib/find-node-version.js
function fromBoot (options) {
  var version
  var bootPath = Path.resolve(
    options.directory,
    'bundle',
    'programs',
    'server',
    'boot.js')

  try {
    version = Fs.readFileSync(bootPath, 'utf8')
      .split('\n')
      .find((line) => line.indexOf('MIN_NODE_VERSION') >= 0)
      .split(' ')[3] // eslint-disable no-magic-numbers
      .replace(/[v;']/g, '')
  } catch (err) {
    return false
  }
  return version
}
function fromBoot (options) {
  var version
  var bootPath = Path.resolve(
    options.directory,
    'bundle',
    'programs',
    'server',
    'boot.js')

  try {
    version = Fs.readFileSync(bootPath, 'utf8')
      .split('\n')
      .find((line) => line.indexOf('MIN_NODE_VERSION') >= 0)
      .split(' ')[3] // eslint-disable no-magic-numbers
      .replace(/[v;']/g, '')
  } catch (err) {
    return false
  }
  return version
}
function fromBoot ( options ) { var version var bootPath = Path . resolve ( options . directory , 'bundle' , 'programs' , 'server' , 'boot.js' ) try { version = Fs . readFileSync ( bootPath , 'utf8' ) . split ( '\n' ) . find ( ( line ) => line . indexOf ( 'MIN_NODE_VERSION' ) >= 0 ) . split ( ' ' ) [ 3 ] // eslint-disable no-magic-numbers . replace ( / [v;'] / g , '' ) } catch ( err ) { return false } return version }
Read boot.js to find the MIN_NODE_VERSION
Read boot . js to find the MIN_NODE_VERSION