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
I ran bun create nue@latest and was greeted with this error:
63|${e.green(S)}${e.reset(n)}${e.gray(B.repeat(Math.max(s-t-1,1))+Z)}64|${c}65|${e.gray(z+B.repeat(s+2)+X)}66|`)},ue=(r="")=>{process.stdout.write(`${e.gray(d)} ${e.red(r)}67|68|`)},oe=(r="")=>{process.stdout.write(`${e.gray(K)} ${r}
^
TypeError: Failed to create UVStreamSink: uv_pipe_open(1) src.windows_c.E.ISDIR
code: "ERR_INVALID_ARG_TYPE"
at node:stream:155:85
at NativeWritablePrototypeWrite (node:stream:3706:141)
at oe (C:\Users\nafee\AppData\Local\Temp\create-nue@latest--bunx\node_modules\@clack\prompts\dist\index.mjs:68:17)
at C:\Users\nafee\AppData\Local\Temp\create-nue@latest--bunx\node_modules\create-nue\cli.js:23:1
The text was updated successfully, but these errors were encountered:
Upon checking nue --version the following error occured
61| dot()
62| }
63|64|65|// lets do it
66|process.stdout.write(colors.green('✓') +` Initialize ${dist}: `)
^
TypeError: Failed to create UVStreamSink: uv_pipe_open(1) src.windows_c.E.ISDIR
code: "ERR_INVALID_ARG_TYPE"
at node:stream:155:85
at NativeWritablePrototypeWrite (node:stream:3706:141)
at C:\Users\nafee\.bun\install\global\node_modules\nuekit\src\init.js:66:3
I'm pretty sure, that that is a Bun for Windows problem.
I've checked it on Linux and Windows, and the issue only occurs on Windows.
You can try using Bun with WSL for now, or use another package manager instead (and edit the shebang to node), or wait for oven-sh/bun#43 (takes its time)
(I think this issue might be specifically related to oven-sh/bun#8456, but I'm not sure 🤷)
I ran
bun create nue@latest
and was greeted with this error:The text was updated successfully, but these errors were encountered: