From 62d697c8615e8103aa07401eef2ebae559cc4a17 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Tue, 28 Sep 2021 09:47:00 +0200 Subject: [PATCH] fix(Standalone): Upgrade npm version to one that supports Node.js v14 --- scripts/pkg/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkg/build.js b/scripts/pkg/build.js index bb71518be..707f32fe2 100755 --- a/scripts/pkg/build.js +++ b/scripts/pkg/build.js @@ -20,7 +20,7 @@ const spawnOptions = { cwd: serverlessPath, stdio: 'inherit' }; // It's due to fact that npm tends to issue buggy releases // Node.js confirms on given version before including it within its bundle // Version mappings reference: https://nodejs.org/en/download/releases/ - await spawn('npm', ['install', '--no-save', 'npm@6.13.4'], spawnOptions); + await spawn('npm', ['install', '--no-save', 'npm@6.14.15'], spawnOptions); try { process.stdout.write('Build binaries\n');