Closed tjoskar closed 7 years ago
I think there's an issue with the path you're trying to specify to the Electron executable. The electron package actually exports the path, so you may just do:
env: {
kind: 'electron',
runner: require('electron') // <-- will set the correct path
},
BTW, thanks for raising the issue, we'll switch to look for the electron
package instead of the electron-prebuilt
package soon.
Thanks, it worked 🎉
Hi,
I just switch from
electron-prebuilt
toelectron
to get rid of some warnings (and for securing the feature: http://electron.atom.io/blog/2016/08/16/npm-install-electron).However, when I start wallaby in Atom I get the following error:
Fair enough, I update the wallaby.js config file to contain:
and try to start wallaby once again, but this time I get the following error:
Okay, maybe I should enter the path to package folder, not the bin file. So I update the
runner
to:But now I get the error:
According to #28 you recommend to include the path to node so let's do it (even though it works out of the box with
electron-prebuilt
) so I add the following in my init script:I exit atom and start atom from the terminal but I still get the same error message:
BUT if I install
electron-prebuilt
(npm install electron-prebuilt
) and update theenv
to:Everything work like a charm. So my question is how I can use wallaby with electron instead of electron-prebuilt.
Versions: Atom: 1.10.2 node: 6.6.0 electron: 1.4.4 electron-prebuilt: 1.3.8 atom-wallaby: 1.0.11