async function build() {
  console.error('* Building TensorFlow Node.js bindings');
  cp.exec('node-gyp rebuild', (err) => {
    if (err) {
      throw new Error('node-gyp rebuild failed with: ' + err);
    }
  });
}
async function build() {
  console.error('* Building TensorFlow Node.js bindings');
  cp.exec('node-gyp rebuild', (err) => {
    if (err) {
      throw new Error('node-gyp rebuild failed with: ' + err);
    }
  });
}
async function build ( ) { console . error ( '* Building TensorFlow Node.js bindings' ) ; cp . exec ( 'node-gyp rebuild' , ( err ) => { if ( err ) { throw new Error ( 'node-gyp rebuild failed with: ' + err ) ; } } ) ; }
Calls node-gyp for Node.js Tensorflow binding after lib is downloaded.
Calls node - gyp for Node . js Tensorflow binding after lib is downloaded .