rotx
rotx
NNuxt
Created by rotx on 5/10/2024 in #❓・help
Initiating Project Fails
Hi, I didn't notice your reply. Anyway, I tried to run NPX command to create a project again today, and it worked with no problems not sure what the problem was I did not update anything, and my PC was restarted a few times since I created the thread so that fixed it maybe. Thanks anyways.
7 replies
NNuxt
Created by rotx on 5/10/2024 in #❓・help
Initiating Project Fails
I got it working using pnpm, but it didn't work with others. It's unfortunate since I don't use pnpm.
7 replies
NNuxt
Created by rotx on 5/10/2024 in #❓・help
Initiating Project Fails
I also tried with bun here is the result:
ERROR TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor) 6:00:06 PM

at new SystemError (node:internal/errors:259:5)
at new NodeError (node:internal/errors:370:7)
at new WriteStream (node:tty:93:11)
at sD.prompt (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/chunks/prompt.mjs:141:676)
at confirm (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/chunks/prompt.mjs:251:6)
at Module.prompt (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/chunks/prompt.mjs:404:18)
at /C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/shared/consola.36c0034f.mjs:617:71
at async ensureUserconsent (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/@nuxt/telemetry/dist/shared/telemetry.023ac76b.mjs:26:20)
at async setup (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/@nuxt/telemetry/dist/module.mjs:363:74)
at async normalizedModule (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/@nuxt/kit/dist/index.mjs:2112:17)



ERROR TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor) 6:00:06 PM

error: postinstall script from "nuxt-app" exited with 1

ERROR Error: Command failed with exit code 1: bun install
ERROR TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor) 6:00:06 PM

at new SystemError (node:internal/errors:259:5)
at new NodeError (node:internal/errors:370:7)
at new WriteStream (node:tty:93:11)
at sD.prompt (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/chunks/prompt.mjs:141:676)
at confirm (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/chunks/prompt.mjs:251:6)
at Module.prompt (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/chunks/prompt.mjs:404:18)
at /C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/consola/dist/shared/consola.36c0034f.mjs:617:71
at async ensureUserconsent (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/@nuxt/telemetry/dist/shared/telemetry.023ac76b.mjs:26:20)
at async setup (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/@nuxt/telemetry/dist/module.mjs:363:74)
at async normalizedModule (/C:/Users/UsernameWasHere/Documents/GitHub/testing-project/node_modules/@nuxt/kit/dist/index.mjs:2112:17)



ERROR TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor) 6:00:06 PM

error: postinstall script from "nuxt-app" exited with 1

ERROR Error: Command failed with exit code 1: bun install
7 replies
NNuxt
Created by rotx on 5/10/2024 in #❓・help
Initiating Project Fails
Node.js version: v20.11.1 NPM Version: 10.5.0
7 replies