Closed korECM closed 11 months ago
While testing by replacing the dependencies of Next.js, it appears that starting from version v13.4.20-canary.19, build errors occur.
I have the same issue. Did you solve it using a method other than downgrading the version?
@InhwanCho
I'm still having the same problem, but I've noticed the following: if I disable the minify
feature of swc
, the build works fine, so I'm assuming it's a problem with the swc
version going up.
// next.config.js
module.exports = () => {
// ...
swcMinify: false,
// ...
}
Thanks for the report, might be worth posting on next.js / swc github issues as well. In the meantime, feel free to downgrade - there are no changes that require 13.5.
I have confirmed that the build issue is resolved starting from v13.5.4-canary.8, which is the Canary version of Next.js. It appears that the issue was resolved with the swc_core
version being updated to v0.83.28
.
If you are experiencing the same build issue, you can either downgrade Next.js to version 13.4.19
or upgrade to the latest Canary version, v13.5.4-canary.9, which should likely solve the problem.
@timlrx, I'm not sure how this repository manages Next.js versions, but if Next.js version v13.5.4
is officially released, could this blog repository align its Next.js version to v13.5.4
? This repository provides an excellent template for starting a blog, and it would be great if Korean users didn't face difficulties due to build errors.
@korECM thanks for confirming that the latest canary build works. Yes, we will upgrade to the next version when it is out. In the meantime, I will leave this issue here so that others are aware about it and can upgrade to the canary version as a workaround.
The upgrade should solve the issue. But feel free to re-open if it still persists, thanks!
Describe the bug
718
As shown in the PR, if you upgrade next.js to version 13.5.3 and use Korean for
title
in the mdx file inside the data/blog folder, an error occurs duringyarn run build
.To Reproduce Steps to reproduce the behavior:
npx degit 'timlrx/tailwind-nextjs-starter-blog'
command.yarn
command.next.js
using theyarn run build
command. You can see that it builds normally.title
in thedata/blog/github-markdown-guide.mdx
file tomarkdown guide
in Korean.yarn run build
command. The following error occurs.You can find this issue in the following repo. https://github.com/korECM/tailwind-nextjs-starter-blog/tree/reproduce-bug
Expected behavior I expect it to build normally.
Screenshots
System Info (if dev / build issue):
v20.7.0
10.1.0
Browser Info (if display / formatting issue):
Additional context I'm not a front-end developer, and I lack knowledge about Next.js, so I'm having difficulty resolving this error. I would appreciate it if you could inform me of any additional information needed or point out areas I should look into to solve this issue. Thank you if you can guide me on what to examine for solving this problem.