-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Closed
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.create-next-appRelated to our CLI tool for quickly starting a new Next.js application.Related to our CLI tool for quickly starting a new Next.js application.locked
Description
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/condescending-haze-go8s7s
To Reproduce
- run this commad:
npx create-next-app@latest - This will install latest version of nextjs like in package.json is
"dependencies": { "react": "19.0.0-rc-65a56d0e-20241020", "react-dom": "19.0.0-rc-65a56d0e-20241020", "next": "15.0.0" }, "devDependencies": { "typescript": "^5", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "postcss": "^8", "tailwindcss": "^3.4.1", "eslint": "^8", "eslint-config-next": "15.0.0" } - npm run dev
- browser showing error `Module parse failed: Bad character escape sequence (11:57)
| const fileSizeInMB = buffer.byteLength / 1024 / 1024
Current vs. Expected behavior
I have just not changed any default value during app creation like shown in screenshot
it should spin up dev server without error. which it dose but after within seconds error pop out.

Provide environment information
testWhich area(s) are affected? (Select all that apply)
create-next-app
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
When i step down to version 14 its working fine with 14.2.15 npx create-next-app@14 test-project
samcx, faisalrehmanlums, SamX23, Dragate, Finn-ferd and 1 more
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.create-next-appRelated to our CLI tool for quickly starting a new Next.js application.Related to our CLI tool for quickly starting a new Next.js application.locked
