You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if similar, but I had to npm i or yarn inside ./node_modules/nyaovim. This made things work. I've done the following steps both with npm and yarn:
mkdir nyaovim
cd nyaovim
yarn add nyaovim
npx nyaovim <-- oops! not working
cd node_modules/nyaovim
yarn
cd ../..
npx nyaovim --> yap, works!
I'm not familiar with npm packaging but maybe there's some flag missing doing this same thing?
I'm using Yarn also and had exactly the same type of problems launching Nyaovim. At first I thought it had to do with the fact that I was executing Nyaovim from Zsh and that it possibly did not reattach to user namespace like it is described in the FAQ, it seemed like a likely scenario.
Then after some debugging I was able to locate the problem, here is a short shell snippet to assert wether you have same problems as me: ls "$(yarn global dir)/node_modules/nyaovim/node_modules" | wc -l
If the command results with 0 (lines), then Nyaovim was not installed fully, meaning its dependencies like electron and such is non existent within Nyaovim own node_modules directory.
Try resolve it by following command: cd "$(yarn global dir)/node_modules/nyaovim" && yarn install
Use
yarn global add nyaovim
Run with
nyaovim
console error produces
thus only
npm install -g nyaovim
can be used.The text was updated successfully, but these errors were encountered: