From 3e7e48e9ebae06283b9dc051aaaa3bb547ad8673 Mon Sep 17 00:00:00 2001 From: Kevin Van den Abeele Date: Tue, 12 May 2020 20:06:39 +0200 Subject: [PATCH] Better logging in postinstall --- scripts/postinstall.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/postinstall.js b/scripts/postinstall.js index 0cb106f..e05f435 100644 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -4,6 +4,7 @@ const exec = require('child_process').exec; switch (process.arch) { case 'arm': case 'arm64': + console.log('ARM/ARM64 architecture, tfjs-lib not precompiled, downloading external precompiled lib!'); fixTensorFlowForArm(); break; case 'x32': @@ -11,7 +12,7 @@ switch (process.arch) { console.log('Supported architecture, no actions required!'); break; default: - console.error('Unsupported processor architecture!'); + console.error('Unsupported processor architecture: ' + process.arch); } function fixTensorFlowForArm() {