Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextjs 13 - infinite Creating an optimized production build #42483

Closed
1 task done
jasperkooij opened this issue Nov 4, 2022 · 6 comments
Closed
1 task done

Nextjs 13 - infinite Creating an optimized production build #42483

jasperkooij opened this issue Nov 4, 2022 · 6 comments
Labels
bug Issue was opened via the bug report template.

Comments

@jasperkooij
Copy link

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Node v18.12.0 on Os X Ventura 13.0

package.json:

"@nextui-org/react": "1.0.0-beta.9",
"next": "latest",
"react": "18.2.0",
"react-dom": "18.2.0"

(also tried canary -> "next": "13.0.2-canary.3",)

I'm using the Next UI example:

pnpm create next-app --example with-next-ui with-next-ui-app

pnpm run build is stuck building:

image

When I add:

' swcMinify: false,` to next.config.js, it will be built correctly.

Next-UI is currently at v1.0.0-beta.10 but that makes no difference.

I hoped this pull request #42326 would fix the issue

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

pnpm run build

Describe the Bug

Stuck in building the app:

Creating an optimized production build ...

Expected Behavior

A full build😀

Link to reproduction

https://github.com/vercel/next.js/tree/canary/examples/with-next-ui

To Reproduce

pnpm create next-app --example with-next-ui with-next-ui-app
pnpm run build

@jasperkooij jasperkooij added the bug Issue was opened via the bug report template. label Nov 4, 2022
@timneutkens
Copy link
Member

According to @kdy1 this should be fixed by #42326, can you try running Next.js 13.0.2?

@jasperkooij
Copy link
Author

That's what I was hoping for. I did a fresh build which gives me 13.0.2

image

then I tried with canary:
image

image

@tianenpang
Copy link
Contributor

Fixed in v13.0.3-canary.0 install next@canary and give it a try 🎉

@jasperkooij
Copy link
Author

@tianenpang Success!

image

Thanks for looking into this👍 🙌. How can I return the favor?

@kdy1 kdy1 removed their assignment Nov 5, 2022
kiochan added a commit to kiochan/employee-registry that referenced this issue Nov 15, 2022
@PaulNext
Copy link

now nextjs version 13.0.5, this compilation problem still exists, how can I solve it?This compilation problem still exists, how can I solve it?

@github-actions
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

6 participants