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

Plugin failed to load: ENOENT yallist.json #85

Closed
LostInCompilation opened this issue Jun 21, 2022 · 8 comments
Closed

Plugin failed to load: ENOENT yallist.json #85

LostInCompilation opened this issue Jun 21, 2022 · 8 comments

Comments

@LostInCompilation
Copy link

LostInCompilation commented Jun 21, 2022

Issue
I installed hyper-border but when starting hyper I get the following error message:
Screenshot 2022-06-21 um 04 23 55

This is my hyper.js configuration

module.exports = {
// ...
             config: {
                          hyperBorder: {
                                      borderWidth: '3px',
                                      animate: false,
                           },
            },
            plugins: ["hyperborder"],
// ...
};

Platform info
Hyper version: 3.2.3 stable
OS: macOS 12.4
Apple Silicon

@webmatze
Copy link
Owner

I just tried it with the same Hyper version (3.2.3) and hyperborder works without problems.
Are you sure there are no other plugins installed?

Or maybe you can try to remove hyperborder, update your plugins, and then reinstall hyperborder.

@StefanusChristian
Copy link

StefanusChristian commented Sep 9, 2022

Sorry if my question is out of context from this issue, does hyperborder still active for Hyper? (Currently on version 3.3.0)
I'd notice hyperborder is no longer on the plugin list for hyper, and when I'm checking the About Hyper, the plugin isn't listed there.
Screen Shot 2022-09-09 at 3 30 52 PM

@webmatze
Copy link
Owner

webmatze commented Sep 9, 2022

Hi @StefanusChristian , as far as I know, hyperborder should still work with Hyper 3.3.0

Here my configuration:
Bildschirmfoto 2022-09-09 um 11 39 26

Maybe you can try installing hyperborder without any other plugin and look if it works. Than you could try adding the other plugins one by one to see if it is one of them that does not work together with hyperborder anymore.

@LostInCompilation
Copy link
Author

LostInCompilation commented Sep 9, 2022

Hyperborder is completely incompatible with any plugin that enables transparency for me. I tried hyper-transparent and the hyper-material-theme. As soon as I enable transparency, the whole window gets colorized with the border color. I only have hyper-border and hyper-transparent enabled.

Is there a solution for this? @webmatze I saw that you're using WebGL renderer instead of Canvas. Is that a problem? I cannot activate WebGL renderer, when using transparency.

EDIT: Yes Canvas is a problem. When enabling Canvas, the error below happens. With WebGL it works, but then I cannot use transparency. Any suggestions? I want to use vibrance, which needs transparency. Hyper-opacity works with WebGL, but not with vibrancy... Man these incompatibilities are a real pain.

Screenshot 2022-09-09 at 22 20 36

Screenshot 2022-09-09 at 22 24 15

@webmatze
Copy link
Owner

webmatze commented Sep 9, 2022

Yes I understand that it is not ideal. I am using hyper-opacity with hyperborder and it just works well.

module.exports = {
  config: {
    hyperBorder: {
      borderRadiusOuter: '4px',
      animate: "1s"
    },
    opacity: 0.5,
    plugins: [
      'hyper-opacity',
      'hyperborder'
  ],
...


}

Bildschirmfoto 2022-09-10 um 00 50 07

But any plugin that changes the styling of hyper can collide with other plugins that do the same.

If somebody knows how to do gradient borders without using the whole area of the background, I will be glad to hear how it is done.

@LostInCompilation
Copy link
Author

Yes the opacity plugin is working. However I would like to use vibrance (a blur additionally to opacity). Every plugin I tested did not work with hyper border. Do you have a suggestion?

@webmatze
Copy link
Owner

I did some research and I think I found a possible solution to the problem using SVG and CSS stroke:
https://codepen.io/webmatze/pen/QWrNPNM

But I have to do some tests if this also works with animations and so.

@LostInCompilation
Copy link
Author

Sounds good, let's hope this will work.
But to cleanup the issue a bit: You can close this issue, hyper-border is working with the current hyper version. I will open a new issue regarding the rendering problem.

@webmatze webmatze closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2022
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

3 participants