hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Can't run hyper cli in windows 10 wsl

Open somnus0x opened this issue 4 years ago • 13 comments

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

somnus0x avatar Jun 07 '20 06:06 somnus0x

Encountering the same error.

fyrfli avatar Jul 06 '20 01:07 fyrfli

can you try with the ci build once

LabhanshAgrawal avatar Jul 06 '20 11:07 LabhanshAgrawal

can you try with the ci build once

Flashing back as soon as it opens

garyyeap avatar Aug 12 '20 12:08 garyyeap

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.

AkimaLunar avatar Sep 07 '20 06:09 AkimaLunar

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 😊

flyri0 avatar Sep 12 '20 03:09 flyri0

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 avatar Sep 12 '20 11:09 dominikfiala

@dominikfiala Have you had any fixing hypercwd?

petahbred avatar Sep 27 '20 20:09 petahbred

3.1.0-canary.4 worked better for me

jcrben avatar Oct 21 '20 01:10 jcrben

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

rafaelje avatar Dec 16 '20 05:12 rafaelje

Having the same issue!

jaanli avatar Jan 12 '21 15:01 jaanli

267

ajgaokar5 avatar Jul 12 '23 09:07 ajgaokar5

hyper u hypercwd

I uninstalled hypercwd and problem fixed.

h2kyaw avatar Aug 25 '23 09:08 h2kyaw

hyper u hypercwd

I uninstalled hypercwd and problem fixed.

it't work for mee, nice one bruhh. Thanks

zaadevofc avatar May 12 '24 13:05 zaadevofc