fix(Standalone): Upgrade npm version to one that supports Node.js v14

This commit is contained in:
Mariusz Nowak 2021-09-28 09:47:00 +02:00 committed by Mariusz Nowak
parent 5a583a9798
commit 62d697c861

View File

@ -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');