Closed bencarter78 closed 7 years ago
What terminal are you launching electron from?
@MarshallOfSound iterm
@bencarter78 That error is traditionally due to using tmux
or launching from a terminal program embedded inside another Electron app.
Can you try launching from a clean instance of Terminal itself and seeing if the same thing happens (ensure anything like tmux is disabled)
@MarshallOfSound tried a new instance of Terminal, same error. I've no idea what tmux is. Do you know how I check if I've got it and disable it if it's running?
@bencarter78 If you don't know you almost certainly don't have it 😆
Oh wait
const electron = require('electron-compile') to const electron = require('electron-compile')
This is wrong, you shouldn't need to change that. Everything should still be
const electron = require('electron')
Perfect! Thanks for your help @MarshallOfSound, really appreciate it! I guess I mis-read the documentation.
Hi there
I've just cloned a the electron-quick-start removed electron from the package.json dependencies and did...
In main.js I changed
const electron = require('electron-compile')
toconst electron = require('electron-compile')
....and I get the following error...
What am I doing wrong?