Closed flyingfisch closed 8 years ago
How did you install nyaovim
? And please tell me Node.js version.
This was the way I installed nyaovim:
$ sudo npm install -g nyaovim
And this is my node
version:
$ node -v
v5.6.0
OK, I'll check on Ubuntu on VirtualBox.
It may not be good to install node modules to /usr/lib
because of permission. Could you check $ sudo nyaovim
?
sudo nyaovim
gives me the same problem.
Hmm...
This problem looks derived from 'electron-prebuilt' package. It creates path.txt
file to its directory to notify the place of electron
. Is there path.txt
in /usr/lib/node_modules/nyaovim/node_modules/electron-prebuilt
?
In my environment (Ubuntu 14.04), installing locally and globally (/usr/local
) didn't occur this problem.
This is what I have:
mark@mark-ThinkPad-X1-Carbon-3rd:/usr/lib/node_modules/nyaovim/node_modules/electron-prebuilt$ ls
cli.js CONTRIBUTING.md electron-tmp-download-26649-1456445817894 index.js install.js LICENSE package.json README.md test
electron-tmp-download-26649-1456445817894
Ah, it looks to fail to download Electron binary. Could you install nyaovim again?
That fixed it, thanks!
I see this problem with node 6.3.0 on OSX.
First I had to install electron (initially there was no electron-prebuilt directory), npm install -g electron
, but still there is no path.txt
.
$ ls /usr/local/lib/node_modules/nyaovim/node_modules/electron-prebuilt
CONTRIBUTING.md LICENSE README.md cli.js index.js install.js issue_template.md package.json test
EDIT: Fixed by nuking all my npm modules and starting afresh.
I tried to run nyaovim and am getting this error. I'm on Ubuntu 14.04.