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 **`)