Hyperline / hyperline

✨ Status line plugin for Hyper ✨
MIT License
619 stars 120 forks source link

DeprecationWarning #185

Open Z33DD opened 5 years ago

Z33DD commented 5 years ago

This happens after install and seems that is causing too much lag, when I use hyperline, Hyper takes too much time just to recognize that I'm typing

bash (node:29404) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. warning hyperline > left-pad@1.3.0: use String.prototype.padStart() warning "hyperline > styled-jsx@2.2.6" has unmet peer dependency "react@15.x.x || 16.x.x". error /home/z33dd/.hyper_plugins/node_modules/hyperline: Command failed. Exit code: 127 Command: opencollective postinstall Arguments: Directory: /home/z33dd/.hyper_plugins/node_modules/hyperline Output: /usr/bin/env: 'node': No such file or directory

dagadbm commented 4 years ago

stoped using this because of this

muloka commented 4 years ago

Not sure if this plugin is still being maintained.

mcarpenterjr commented 4 years ago

I was able to fix this by following the instructions in the readme for building/developing and then using npm audit and npm audit fix to update the dependencies. npm complained that babel and jest had some possible breaking changes, but everything seems fine so far.

sanguino commented 4 years ago

@mcarpenterjr I did what you said, the warning is not showing, but hyperline stills not showing, any idea?

mcarpenterjr commented 4 years ago

@sanguino is it enabled in your prefs? Silly question I know.

sanguino commented 4 years ago

Yes, it’s enabled

abixadamj commented 4 years ago

I have similar error, but plugin works... Zrzut ekranu z 2020-07-23 16-48-11