mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fix(Standalone): Upgrade npm version to one that supports Node.js v14
This commit is contained in:
parent
5a583a9798
commit
62d697c861
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user