Answer the question
In order to leave comments, you need to log in
Why does the installation fail?
When installing Electron on Ubuntu, the following errors occur:
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] postinstall: `node install.js`
Answer the question
In order to leave comments, you need to log in
MB The version of the node you have is not the same? Try to install NVM and install node 6.5+
Perhaps the node -> nodejs symlink is missing. Tip: install the latest version from here: https://github.com/nodesource/distributions. Well, or through NVM, yes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question