Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shaneafsar/test-mdx-korean
Reproduction case of build failure "SyntaxError: Unexpected token '한', ..."his),\": \한\\uAD6D\\"... is not valid JSON"
https://github.com/shaneafsar/test-mdx-korean
Last synced: 26 days ago
JSON representation
Reproduction case of build failure "SyntaxError: Unexpected token '한', ..."his),\": \한\\uAD6D\\"... is not valid JSON"
- Host: GitHub
- URL: https://github.com/shaneafsar/test-mdx-korean
- Owner: shaneafsar
- Created: 2023-09-21T19:53:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-21T19:59:03.000Z (over 1 year ago)
- Last Synced: 2024-10-14T21:49:54.465Z (2 months ago)
- Language: TypeScript
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## To reproduce issue
* Run `npm run build`
* Notice the output (build failed)```
Collecting page data ..SyntaxError: Unexpected token '한', ..."his),\": \한\\uAD6D\\"... is not valid JSON
at JSON.parse ()
at 6560 (/Users/shaneafsar/workspace/test-mdx-korean/.next/server/app/[...slug]/page.js:1:2492)
at Function.t (/Users/shaneafsar/workspace/test-mdx-korean/.next/server/webpack-runtime.js:1:127)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async collectGenerateParams (/Users/shaneafsar/workspace/test-mdx-korean/node_modules/next/dist/build/utils.js:859:17)
```## Expected result
* Downgrade to 13.4.11 via `npm install [email protected]`
* Run `npm run build`
* Notice successful build