You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bun create next-app
√ What is your project named? ... my-app
√ Would you like to use TypeScript? ... No / Yes
√ Would you like to use ESLint? ... No / Yes
√ Would you like to use Tailwind CSS? ... No / Yes
√ Would you like to use src/ directory? ... No / Yes
√ Would you like to use App Router? (recommended) ... No / Yes
√ Would you like to customize the default import alias (@/*)? ... No / Yes
Creating a new Next.js app in ...
When running bun create next-app on my machine I could not reproduce the bug. You could try uninstalling and reinstalling bun.
I deleted it using this command and installed it using powershell too powershell -c ~\.bun\uninstall.ps1
The result is the same:
The fact is that it sort of installs, but at the same time this error occurs. The bonus is the strange Appdata folder, which (it seems to me) should not appear here.
What version of Bun is running?
1.1.17+bb66bba1b
What platform is your computer?
windows
What steps can reproduce the bug?
bun create next-app
What is the expected behavior?
No mistakes
What do you see instead?
bun create next-app
√ What is your project named? ... my-app
√ Would you like to use TypeScript? ... No / Yes
√ Would you like to use ESLint? ... No / Yes
√ Would you like to use Tailwind CSS? ... No / Yes
√ Would you like to use
src/
directory? ... No / Yes√ Would you like to use App Router? (recommended) ... No / Yes
√ Would you like to customize the default import alias (@/*)? ... No / Yes
Creating a new Next.js app in ...
Using bun.
Initializing project with template: app-tw
Installing dependencies:
Installing devDependencies:
node:events:497
throw er; // Unhandled 'error' event
^
Error: spawn bun ENOENT
at notFoundError (C:\Users\CD86
1\AppData\Local\Temp\bunx-596791048-create-next-app@latest\node_modules\create-next-app\dist\index.js:8:77149)1\AppData\Local\Temp\bunx-596791048-create-next-app@latest\node_modules\create-next-app\dist\index.js:8:77528)at verifyENOENT (C:\Users\CD86
at t.emit (C:\Users\CD86
1\AppData\Local\Temp\bunx-596791048-create-next-app@latest\node_modules\create-next-app\dist\index.js:8:77383)1\AppData\Local\Temp\bunx-596791048-create-next-app@latest\node_modules\create-next-app\dist\index.js:8:77424)at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Emitted 'error' event on ChildProcess instance at:
at t.emit (C:\Users\CD86
at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn bun',
path: 'bun',
spawnargs: [ 'install' ]
}
Node.js v20.15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: