Closed bntzio closed 6 years ago
Oh, never mind! I got it working now, I just closed Hyper and opened it again, the error is gone now, fantastic themes btw! 👍
same error but restart doesn't help :( I get it with every restart
I solved this by setting the pokemon
, pokemonSyntax
& unibody
props in the ~/.hyper.js
file. See the Usage section
my problem was related to this: https://github.com/zeit/hyper/issues/191
so nothing with hyper-pokemon I guess
Also having this - funnily enough, I filed https://github.com/zeit/hyper/issues/191 and don't know how to fix it 😅
Indeed, it's something that we have also noticed. Some reliable & possible solutions atm are:
Manually installing hyper-pokemon
from scratch. Here is a quick guide on how to do it:
# clone the repo inside `~/.hyper_plugins/node_modules/hyper-pokemon`
$ git clone https://github.com/hyper-pokemon/hyper-pokemon.git
# navigate to the project directory
$ cd hyper-pokemon
# install the dependencies
$ npm install
npm@4
(if you are not already on it) using npm install -g npm@latest-4
Edit: More new successfully proven solutions have been proposed and implemented:
~These three ways are the only ones, to our experience, sometimes solve the issue on MacOS Sierra 10.12.5, but they do not completely prevent it from re-appearing.~ We will keep testing them, though it seems more like a hyper
related issue than a hyper-pokemon
one, since it also appears on other hyper
plugins too. If anything new comes up, we will let you all know as soon as possible. Thank you all for dropping by and sharing your thoughts : )
We will keep this issue as Open until a ~more~ fully credible solution is established
I was getting the same error, however I fixed it by simply using yarn
instead of npm
. Simply cd C:\Users\%USERNAME%\.hyper_plugins
and run yarn install
. That should do the trick, In my opinion it is a better option than downgrading your npm
version.
Cheers! :beers:
Wow, this does seem like a pretty good fix! We will be testing the theme on various OS configurations and will close this issue if the error doesn't find its way back... :robot:
@georgebax The problem is that when you use npm
to install the dependencies it creates the package-lock.json
file which somehow makes hyper act in a weird way, and reject the plugin. Hyper is defaulting to your npm
version and installing the plugins. This is very troublesome. Hyper should default to yarn
. This issue is a problem with hyper itself, and not with your plugin...
Yes we have encountered numerous problems with npm
ourselves, it can be really buggy sometimes, especially along with hpm-cli
. Anyway, should you encounter any other issues / have any tips, feel free to contact us!
i don't use hpm install it. try these cmd:
cd ~/.hyper_plugins
vim package.json
add "hyper-pokemon": "latest" in the dependencies
sudo npm install
finally, resolved the problem successfully.
Issue considered solved since Hyper@1.4.0
I'm getting this Hyper error when following the installation steps:
Also, in the dev console I get this:
Here's my hyper.js config file:
OS MacOS Sierra v10.12.5
What could be wrong? Thanks! 😄