Exploring electron is fairly new to me (if you know of any good documentation, please leave it in the comments) and I've encountered an issue that has left me puzzled:
Everything seems fine until I load the THREE.js library. At that point, even though my scene is rendering, web development tools (such as the JavaScript console) are no longer accessible and I end up with a blank page.
In the first image below, you can see this blank page, when it should resemble the right side of the second picture. Can anyone offer guidance on how to overcome this obstacle?
EDIT: Following the initial response, here is my main.js file:
var app = require('app');
var BrowserWindow = require('browser-window');
var mainWindow = null;
app.on('ready', function() {
mainWindow = new BrowserWindow({
height: 720,
width: 1080,
frame : false,
resizable : false
});
mainWindow.loadURL('file://' + __dirname + '/main.html');
});
(using npm 3.9.0) https://i.sstatic.net/RwBqs.png