Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find .hyperlayout in my home directory #31

Open
nobleach opened this issue Aug 12, 2017 · 3 comments
Open

Can't find .hyperlayout in my home directory #31

nobleach opened this issue Aug 12, 2017 · 3 comments

Comments

@nobleach
Copy link

I just gave this plugin a shot as it seemed like it may have some features I miss from Tmux. I just used a bare example setup of two horizontal panes (from the README.md). Even though I saved this file to my home directory, I get an error that says the file cannot be found.

screenshot 2017-08-11 22 44 06

I guess I can try the other methods, but shouldn't this work?

@designorant
Copy link

@nobleach There's likely a syntax error in your layout. Try something simple, like:

[
  [
    ["echo Hello", "echo World"]
  ]
]

and see if it works?

@javiergarval
Copy link

Assuming you created the .hyperlayout file containing the layout configuration, the problem seems that you don't have hyperlayout installed globally. So, try with npm install -g hyperlayout.

I ran first npm install -g hyperlayout hpm-cli and it installed hyperlayout inside ~/.hyper_plugins/node_modules/hyperlayout.

@philoserf
Copy link

Perhaps the issue should be renamed. The problem may be in the error message. Since when there is a .hyperlayout file with bad syntax the message is Can't find any hyperlayout preset (.hyperlayout, package.json, ~./hyperlayout)

I'd call this a UI feature story to improve the error message when a configuration file exists but may have a format error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants