From dd20a8b00fa195d34bf4e0305fef96e876851c21 Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Mon, 4 May 2020 15:08:24 +0100 Subject: [PATCH] Disable oclif's ts-node registering when running against built code Change-type: patch --- bin/balena | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/balena b/bin/balena index 69f81d46..2df8105b 100755 --- a/bin/balena +++ b/bin/balena @@ -4,6 +4,9 @@ // operations otherwise, if the pool runs out. process.env.UV_THREADPOOL_SIZE = '64'; +// Disable oclif registering ts-node +process.env.OCLIF_TS_NODE = 0; + // Use fast-boot to cache require lookups, speeding up startup require('fast-boot2').start({ cacheFile: __dirname + '/.fast-boot.json'