Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hyper Terminal commands not working on WSL 2

  • have configured it properly otherwise adding in wsl.exe to the path linking it. I am now trying to add in plugins to my Hyper, but I keep on getting this error whenever I type in a Hyper command. I have tried reinstalling hyper a few times every time doing nothing.

    hyper -v

    Disabling Chromium GPU blacklist running in prod mode electron will open file://C:\Users\joeyg\AppData\Local\hyper\app-3.0.2\resources\app.asar\index.html Error while loading dev tools extensions Error: Cannot create process, error code: 267

like image 593
Misterjoe Avatar asked Apr 01 '20 01:04

Misterjoe


People also ask

Why WSL command is not working?

This is likely because your machine has not yet taken the backport for WSL 2. The simplest way to resolve this is by going to Windows Settings and clicking 'Check for Updates' to install the latest updates on your system. See the full instructions on taking the backport.

Can WSL run Windows commands?

WSL can run Windows tools directly from the WSL command line using [tool-name].exe . For example, notepad.exe . Applications run this way have the following properties: Retain the working directory as the WSL command prompt (for the most part -- exceptions are explained below).

How do I use command in WSL?

1. Open the Ubuntu terminal 2. Install make with the command: sudo apt install make You have successfully installed make and can now use makefiles in WSL.


2 Answers

I fixed ut by adding this into your zshrc or bashrc file.

alias hyper="cmd.exe /c hyper"

This allows it to work. However, it isn't going to work because of the path issue. None of the plugins work at though :(. It is super sad how they don't work. Additionally, it seems to be abandoned when it comes to command, and simply says it isn't supported. I really hate it when you open a new tab and it isn't on the same path.

like image 97
Misterjoe Avatar answered Sep 28 '22 05:09

Misterjoe


Use the shell Args like this

shell: 'C:\\Windows\\System32\\wsl.exe',
shellArgs: ['~'],
like image 40
Coda Bool Avatar answered Sep 28 '22 06:09

Coda Bool