Skip to content

Commit

Permalink
fix(Standalone): Upgrade npm version to one that supports Node.js v14
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 28, 2021
1 parent 5a583a9 commit 62d697c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pkg/build.js
Expand Up @@ -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');
Expand Down

0 comments on commit 62d697c

Please sign in to comment.