vercel / vercel/hyper

Can't run hyper cli in windows 10 wsl

Open
#4,611 13 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • [ x] I am on the latest Hyper.app version

  • [x ] I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Windows 10 WSL2

  • Hyper.app version: 3.0.2

  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/supasonk/534fc05017692ffeba4f7bfb56139e4c

  • Relevant information from devtools Plugin hyper-material-theme (3.0.1) loaded.
    Disabling Chromium GPU blacklist
    running in prod mode
    electron will open file://C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\index.html
    Error while loading devtools extensions Error: Cannot create process, error code: 267
    at new WindowsPtyAgent (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\node_modules\node-pty\lib\windowsPtyAgent.js:75:43)
    at new WindowsTerminal (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\node_modules\node-pty\lib\windowsTerminal.js:46:24)
    at spawn (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\node_modules\node-pty\lib\index.js:29:12)
    at Session.init (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\session.js:111:18)
    at new Session (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\session.js:83:10)
    at createSession (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\ui\window.js:116:23)
    at createInitialSession (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\ui\window.js:124:32)
    at new Window (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\ui\window.js:140:26)
    at createWindow (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\index.js:157:22)
    at installDevExtensions.then (C:\Users\user\AppData\Local\hyper\app-3.0.2\resources\app.asar\index.js:177:7)

  • The issue is reproducible in vanilla Hyper.app: Is Vanila

Issue

I can't run the hyper cli when i run the command the above error occured. my machine are windows 10 with wsl2 running in ubuntu.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure on Windows 10 with WSL2 and inspect the reported node-pty WindowsPtyAgent error. Trace the path from node-pty/lib/windowsPtyAgent.js through session.js and ui/window.js, then identify a reliable fix for launching the Hyper CLI. Done means the CLI starts successfully in the reported environment without the process error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.