From 3d3ef46b7ad6839f31f13b68556f677a86c56a46 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Tue, 17 Nov 2020 20:50:41 +0100 Subject: [PATCH] Improve `npm install` fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 118c9937ec..c44a208976 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ module.exports = { // TO-DO: Post alpha, try to remove this workaround for missing deps in // the next-on-netlify function template - await utils.run.command('npm install next-on-netlify@latest') + await utils.run.command('npm install next-aws-lambda') if (isStaticExportProject({ build, scripts })) { return failBuild(`** Static HTML export next.js projects do not require this plugin **`)