vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.19k stars 3.5k forks source link

Unable to install plugins in Hyper #4786

Closed cldmello closed 4 years ago

cldmello commented 4 years ago

Issue

I have a Hyper terminal client install that built from AUR in Arch Linux. The client works fine. However, I'm having issues installing hyper plugins. For instance, when I run "hyper i hyper-one-dark" (or that matter, any other plugin), I get the below error message. Any help here will be appreciated!

Note: I do not have this issue on Linux Mint or Ubuntu since I installed using your .deb package from the website.

Disabling Chromium GPU blacklist running in prod mode electron will open file:///usr/lib/hyper/resources/app.asar/index.html Checking for notification messages Notification messages fetch error SyntaxError: Unexpected token T in JSON at position 0 at JSON.parse () at consumeBody.call.then.buffer (/usr/lib/hyper/resources/app.asar/node_modules/electron-fetch/lib/index.js:240:55) at process._tickCallback (internal/process/next_tick.js:68:7)

cldmello commented 4 years ago

Found the solution online.

Apparently, we need to export the bin path.

export PATH=/usr/lib/hyper/resources/bin:$PATH

This worked!