Closed tdmike closed 6 years ago
Hmm, looks like some permissions thing - check if node_modules file permissions and the user matches?
Could you elaborate a little, I'm new to this.
I've also got this issue. Doesn't appear to be a permissions issue, as I'm running the thing as root (unless I'm misunderstanding something)
From the looks of things, for some reason the npm install isn't running electron's postinstall hook?
Hmm, are you running npm v5?
Nope, just Ubuntu 16.04 "defaults":
root@mediawiki-test:/usr/local/lib# npm --version
3.5.2
root@mediawiki-test:/usr/local/lib# node --version
v4.2.6
You should not run or install dependencies as root. That should fix it ;-)
It's a container being deployed with ansible - I don't care what it's running as, I just want it installed globally so I can actually run it vaguely easily
I didn't delve deep enough in the OP's pastebin, @LordAro could you try npm install --unsafe-perm -g electron-render-service
If that works I'll add it to package.json
config.
yeah, that works, as does running electron-render-service/node_modules/electron/install.js
from the commandline
When installing electron-render-service through npm I run into an error which causes electron not being able to run.
https://pastebin.com/VEKLSj7Y
On request I can post the full verbose logging, I have already tried npm cache clean but that doesn't do anything either.