hyperborder icon indicating copy to clipboard operation
hyperborder copied to clipboard

Plugin failed to load: ENOENT yallist.json

Open LostInCompilation opened this issue 2 years ago • 1 comments

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

LostInCompilation avatar Jun 21 '22 02:06 LostInCompilation

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.

webmatze avatar Jun 27 '22 19:06 webmatze

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

StefanusChristian avatar Sep 09 '22 08:09 StefanusChristian

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.

webmatze avatar Sep 09 '22 09:09 webmatze

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

LostInCompilation avatar Sep 09 '22 20:09 LostInCompilation

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.

webmatze avatar Sep 09 '22 22:09 webmatze

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?

LostInCompilation avatar Sep 10 '22 00:09 LostInCompilation

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.

webmatze avatar Sep 10 '22 11:09 webmatze

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.

LostInCompilation avatar Sep 10 '22 14:09 LostInCompilation