Aborting installation. RangeError: Maximum call stack size exceeded at openSync (node:fs:563:5) #75158
Labels
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
invalid link
The issue was auto-closed due to a missing/invalid reproduction link. A new issue should be opened.
Link to the code that reproduces this issue
https://github.com/vercel/next.js/tree/canary/packages/create-next-app
To Reproduce
node version v22.13.1
Using npm.
Initializing project with template: app-tw
Installing dependencies:
Installing devDependencies:
added 374 packages, and audited 375 packages in 20s
142 packages are looking for funding
run
npm fund
for detailsfound 0 vulnerabilities
Success! Created my-app at /Users/nacho/Documents/xeverything/my-app
Aborting installation.
Unexpected error. Please report it as a bug:
RangeError: Maximum call stack size exceeded
at openSync (node:fs:563:5)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86379)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
at attempt (/Users/{myusername}/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app/dist/index.js:74:86454)
Current vs. Expected behavior
my-app % npm run dev
▲ Next.js 15.1.5 (Turbopack)
✓ Starting...
✓ Ready in 710ms
○ Compiling / ...
✓ Compiled / in 1257ms
GET / 200 in 1418ms
✓ Compiled /favicon.ico in 82ms
GET /favicon.ico?favicon.45db1c09.ico 200 in 129ms
Seems to be working fine, that abort installation error is the first time it happened
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.2.0: Fri Dec 6 18:40:14 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8103 Available memory (MB): 8192 Available CPU cores: 8 Binaries: Node: 22.13.1 npm: 10.9.2 Yarn: N/A pnpm: N/A Relevant Packages: next: 15.1.5 // Latest available version is detected (15.1.5). eslint-config-next: 15.1.5 react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
create-next-app
Which stage(s) are affected? (Select all that apply)
Other (Deployed)
Additional context
No response
The text was updated successfully, but these errors were encountered: