Comments (5)
GitHub issues are for feature requests and bug reports, questions about using Electron should be directed to the community or to the Slack Channel.
FWIW this behavior is expected, npm
relies on node
so it won't work without it
from electron-prebuilt.
I suspect I'm misunderstood about the essence of this issue. This is not a question or a support issue. It is definitely a feature request, arguably a bug.
- Node is installed on my machine.
- On Debian and Ubuntu distribution, the node executable name is nodejs. See issue #4772 on NodeJS database (nodejs/node-v0.x-archive#4772).
- I had no problem workaround the issue. The canonical work around is to create a symbolic link from node to nodejs - and this way supporting packages that have 'node' hard coded, including electron.
- I seriously suggest you reopen this issue. Most packages support it. Ubuntu is not a small distribution.
from electron-prebuilt.
@uri247 I'll cc some people on this to discuss but as far as I am aware the nodejs
package on linux is legacy and unsupported. The version it installs 0.10
/ 0.12
is actually end of life according to node's LTS schedule. And all common node install techniques for linux (that aren't this legacy package) install the correct executable (node
).
I am of the opinion that this is an issue with how node was installed in the legacy package and not an issue with electron calling node install.js
.
What do you think @malept ?
from electron-prebuilt.
Ubuntu 17.04 installs Node 4.x (has been since at least 16.04). That being said, it's really odd that nodejs-legacy
exists (the package that provides the nodejs
➡️ node
symlink), from a Node ecosystem point of view. (It makes slightly more sense from a Debian packaging POV...)
My opinion is that we should add to the docs "requires nodejs-legacy installed when using the system Node packages on Debian/Ubuntu."
from electron-prebuilt.
My opinion is that we should add to the docs "requires nodejs-legacy installed when using the system Node packages on Debian/Ubuntu."
Sounds good to me 👍
from electron-prebuilt.
Related Issues (20)
- OpenBSD as a supportet platform? HOT 2
- Unable to install Electron with the quick-start tutorial HOT 7
- "sudo npm install -g electron" fails HOT 1
- Electron not installing (Windows 10) HOT 2
- Got stuck after npm install -g HOT 1
- Error while installing npm in windows 10 HOT 1
- Mac: Failed at the [email protected] postinstall script 'node install.js'. HOT 4
- npm install hangs HOT 3
- Dependency to @types/node makes electron package incompatible with typescript projects not using commonjs HOT 11
- Can't install electron 1.7.1 locally using npm 5 HOT 10
- Install on Bash on Ubuntu on Windows (WSL) HOT 13
- Postinstall script failing HOT 22
- Error: Generated checksum for "electron-v1.4.13-linux-x64.zip" did not match expected checksum. HOT 11
- Prebuilt electron package for Ubuntu 10.04 32 bits HOT 1
- Can't install in Windows10 HOT 1
- Change electron binary path via environment variable? HOT 2
- Electron not installing on Mac Os High Sierra HOT 1
- npm ERR! [email protected] postinstall
- Error while installing electron on Mac
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-prebuilt.