Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing CAPS LOCK or CTRL cause prompts to crash #266

Closed
kotx opened this issue Dec 15, 2022 · 3 comments
Closed

Pressing CAPS LOCK or CTRL cause prompts to crash #266

kotx opened this issue Dec 15, 2022 · 3 comments

Comments

@kotx
Copy link

kotx commented Dec 15, 2022

PS C:\Users\toast\workspace> pnpm create tauri-app
.../Local/pnpm/store/v3/tmp/dlx-47960    |   +2 +
Packages are copied from the content-addressable store to the virtual store.
  Content-addressable store is at: C:\Users\toast\AppData\Local\pnpm\store\v3
  Virtual store is at:             ../AppData/Local/pnpm/store/v3/tmp/dlx-47960/node_modules/.pnpm
.../Local/pnpm/store/v3/tmp/dlx-47960    | Progress: resolved 10, reused 2, downloaded 0, added 2, done

? Project name (tauri-app) › thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: NotConnected, error: "Not a terminal" }', D:\a\create-tauri-app\create-tauri-app\packages\cli\src\lib.rs:71:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR  Command failed with exit code 3221226505: C:\Users\toast\AppData\Local\pnpm\store\v3\tmp\dlx-47960\node_modules\.bin\create-tauri-app.CMD

pnpm: Command failed with exit code 3221226505: C:\Users\toast\AppData\Local\pnpm\store\v3\tmp\dlx-47960\node_modules\.bin\create-tauri-app.CMD
    at makeError (C:\Users\toast\scoop\persist\nodejs-lts\bin\node_modules\pnpm\dist\pnpm.cjs:22289:17)
    at handlePromise (C:\Users\toast\scoop\persist\nodejs-lts\bin\node_modules\pnpm\dist\pnpm.cjs:22860:33)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.handler (C:\Users\toast\scoop\persist\nodejs-lts\bin\node_modules\pnpm\dist\pnpm.cjs:199043:7)
    at async C:\Users\toast\scoop\persist\nodejs-lts\bin\node_modules\pnpm\dist\pnpm.cjs:206407:21
    at async run (C:\Users\toast\scoop\persist\nodejs-lts\bin\node_modules\pnpm\dist\pnpm.cjs:206378:34)
    at async runPnpm (C:\Users\toast\scoop\persist\nodejs-lts\bin\node_modules\pnpm\dist\pnpm.cjs:206599:5)
    at async C:\Users\toast\scoop\persist\nodejs-lts\bin\node_modules\pnpm\dist\pnpm.cjs:206591:7
@kotx
Copy link
Author

kotx commented Dec 15, 2022

Upon further inspection this is an issue of dialoguer which is used for prompts. Relevant PR here console-rs/dialoguer#192

Should this issue be left open then?

@amrbashir
Copy link
Member

Yeah, let's leave it open for a while.

@amrbashir
Copy link
Member

this should be fixed for a while now, let me know if you still face this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants