Open antonbrams opened 7 years ago
I'm sorry, I don't really understand what you mean. Can you detail the steps to reproduce this please?
take a look at this issue please https://github.com/electron/electron/issues/8200
Hi,
I ran into this issue recently and would like to share my workaround for it. It's not possible to run an Electron app from inside another Electron app (Atom). The workaround for me is to unset ELECTRON_RUN_AS_NODE
before running the child Electron process in the terminal, either with unset ELECTRON_RUN_AS_NODE
or by prepending ELECTRON_RUN_AS_NODE=
(blank value) to the command to launch the Electron process
It would be possible for atom-xterm
to strip this variable out automatically, but whether it's really appropriate of atom-xterm
to do so is, to me, an open question - although I do notice it already does so with NODE_ENV
(which was an issue for me with term3).
Hi, if i try to run Electron, the require('electron') part instead of a module returns just a path, where this module is stored. Is it possible to fix? Thanks!