Hyper: Can't run hyper cli in windows 10 wsl

Created on 7 Jun 2020  路  10Comments  路  Source: vercel/hyper

  • [ 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.

Most helpful comment

Encountering the same error.

All 10 comments

Encountering the same error.

can you try with the ci build once

can you try with the ci build once

Flashing back as soon as it opens

Looks like this issue is still open. Just wondering if there have been any thoughts on how to fix this. I have the same issue with the same OS and Hyper.app version.

One of the ways to solve this problem and pasting it: alias hyper="cmd.exe /c hyper" in zshrc or bashrc file

It worked for me on Windows 10 with WSL2 馃槉

I just tried to install a hypercwd plugin and encountered the same issue. alias hyper="cmd.exe /c hyper" in bashrc helped with the installation, but I'm running into JS error when opening a new tab now in WSL. It works perfectly in Windows PowerShell though.
JS error enclosed.
Annotation 2020-09-12 130914

@dominikfiala Have you had any fixing hypercwd?

3.1.0-canary.4 worked better for me

if you need to install something urgent change the .hyper.js file with:

shell: '',
shellArgs: [],

restart the terminal

now you should have the default cmd.exe and you can run

hyper install....

Having the same issue!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daenuprobst picture daenuprobst  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

yvan-sraka picture yvan-sraka  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

leo picture leo  路  3Comments