Hyper: plugins won't install, CLI gives symlink creation error

Created on 8 Jan 2019  路  19Comments  路  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: MAC OS High Sierra
  • Hyper.app version: 2.1
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Plugins just don't install. I've rebooted and still no joy. If I try and install CLI I get "Symlink creation failed: EACCES

If I try and install a theme, i get:

$ hyper i hyperocean
bash: hyper: command not found

or

$ hyper install hyperocean
bash: hyper: command not found

BUT, when I view "about Hyper" I get:

Hyper 2.1.0 stable
Plugins: hyperocean (1.1.2)

yet no theme changes appear.

What am I missing here?

Most helpful comment

I see. It seems permisssion change I suggested above should be applied to /usr/local/bin (You can use ls -la /usr/local/bin/ to check permission and owner)

First try sudo ln -s /Applications/Hyper.app/Contents/Resources/bin/hyper /usr/local/bin/hyper although /Applications/Hyper.app/Contents/Resources/bin/hyper path may be different in case (mine hyper is installed from .dmg file downloaded from website).

If it does not help try change owner and permissions of /usr/local/bin.

Last resort is delete hyper from applications and try it install it via brew brew update;brew cask install hyper

All 19 comments

What do you mean by "If I try and install CLI"?
It seems to me like two separate issues.

  • "Symlink creation failed: EACCES" might suggest not sufficient permissions. You might try set proper user with sudo chown -R ${your user name}:staff ~/.hyper_plugins and set permissions sudo chown -R 755 ~/.hyper_plugins

  • "bash: hyper: command not found" what is your output of which $SHELL?

I still get that same error after updating permissions. This is when i go to Plugins > install Hyper CLI command in path

$ which $SHELL
/bin/bash

I notice now I am seeing some colour formatting in the shell, so at least that's working. I don't understand why though, when I run the plugin install command it says it's not found. That's v confusing.

I see. It seems permisssion change I suggested above should be applied to /usr/local/bin (You can use ls -la /usr/local/bin/ to check permission and owner)

First try sudo ln -s /Applications/Hyper.app/Contents/Resources/bin/hyper /usr/local/bin/hyper although /Applications/Hyper.app/Contents/Resources/bin/hyper path may be different in case (mine hyper is installed from .dmg file downloaded from website).

If it does not help try change owner and permissions of /usr/local/bin.

Last resort is delete hyper from applications and try it install it via brew brew update;brew cask install hyper

Thank you, it looks like this worked:

sudo chown -R 755 /usr/local/bin/

now i get:

An error occurred writing to /Users/me/.hyper_plugins/package.json

I have the same error
ekran resmi 2019-01-11 19 58 08

ekran resmi 2019-01-11 20 01 52

still getting this error.

and yes, I realise one of the above commands should have been chmod and not chown, but still no good.

why is this such an issue? shouldn't this just work OOTB?

does anyone have a fix for this annoying bug?

Hey @starchild,

I used to have this issue, but I've got it now. You just need to do:

sudo chmod -R 777 ~/.hyper_plugins

(Edited) Corrected chown to chmod

chown or chmod?

I still get this error:!

screen shot 2019-02-02 at 10 55 39 pm

@starchild Woops! Should be chmod instead 馃檪 You'll need to restart Hyper afterwards for it to take effect

chmod fixed it. Can't believe this is needed, surely everyone using a mac gets this same error OOTB?

Thank you @ItsPugle

Yeah, everyone would get this issue OOTB. Kinda thinking that it's worth making a PR to add a note in the README about this until someone can properly patch this

changing the permissions on ~/.hyper-plugins did not work for me. This is still an issue.

changing the permissions on ~/.hyper-plugins did not work for me. This is still an issue.

Hi @cjwd
Can you open hyper,
then click Hyper>preferences on toolbar.
It should be trigger to open .hyper.js with code editor.
then check 145. line are there any (comma ',') error? If there is an error put ',' after plugins array it should be like this

plugins:[],
localPlugins[],

This solved my problem.

Thank @cakmakemre for responding but that doesn't seem to be the issue, the comma is there. Strangely enough, I installed it on another Mac which has High Sierra and there were no problems, although it doesn't show up in the Alfred app search.

A new mac running Mojave, keep failing to install the CLI path.

Oh sorry @cjwd, I just realized that this is a solution for "Loading Config-Syntax Error". I hope team will help to fix you problem.

Best.

Guyss i just solved all the installation problems using homebrew.
1)go to : brew.sh
2)install it using the existing hyper terminal and then install the cli using plugins tab in the navbar
3)You are good to go!

Yes.. installing Homebrew solved this for me as well! Thanks @abhitrip13

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sarneeh picture sarneeh  路  3Comments

aem picture aem  路  3Comments

laur1s picture laur1s  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

rauchg picture rauchg  路  3Comments