Bug:/Idea: npx next export
is not supported anymore in Next.js
#7
Labels
bug
Something isn't working
npx next export
is not supported anymore in Next.js
#7
Expected Behaviour
I used the default next.js starter kit
npx create-next-app@latest nextjs-blog --use-pnpm --example "https://github.com/vercel/next-learn/tree/main/basics/learn-starter"
My expected behaviour would be that the deploy step is deploying the static files.
Current Behaviour
The build step fails with the following logs:
I know that only SSG and SPA are supported right now. But I think the developer experience could be improved if the CLI locally already fails or if the build command understands that next version xyz is not supporting this command anymore.
Code snippet
Possible Solution
Show a warning locally / break locally
Steps to Reproduce
npx create-next-app@latest nextjs-blog --use-pnpm --example "https://github.com/vercel/next-learn/tree/main/basics/learn-starter"
cloudfront-hosting-toolkit init
cloudfront-hosting-toolkit deploy
The text was updated successfully, but these errors were encountered: