You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Specified target is invalid. Provided: "standalone" should be one of server, serverless, experimental-serverless-trace
Running npx --package @sladg/nextjs-lambda next-utils pack without this results in Process failed with error: Error: Folder: /Users/<project root>/.next/standalone does not exist!
From the next docs it seems we can have output: 'standalone',? But this doesn't seem to work either, or where am I going wrong? Thanks.
The text was updated successfully, but these errors were encountered:
Thanks! In addition, for me Next 12 didn't output a .next/standalone directory, and so the next step npx --package @sladg/nextjs-lambda next-utils pack failed. I have just updated to Next 13 and it is outputting the .next/standalone as expected. The docs mention Next 12 - I made a PR here specifying Next 13: #53.
Thanks for this project. I'm having trouble running
next build
withtarget: 'standalone'
. next.config.js is:When I run
next built
I get the following output:Error: Specified target is invalid. Provided: "standalone" should be one of server, serverless, experimental-serverless-trace
Running
npx --package @sladg/nextjs-lambda next-utils pack
without this results inProcess failed with error: Error: Folder: /Users/<project root>/.next/standalone does not exist!
From the next docs it seems we can have
output: 'standalone',
? But this doesn't seem to work either, or where am I going wrong? Thanks.The text was updated successfully, but these errors were encountered: