I recently upgraded to electron v1.3 from 0.37 and get Cannot find module 'remote' in the renderer process.
Been combing through the docs and haven't been able to come up with much
here's a part of my code
RENDERER JS FILE
var remote = require('electron').remote;
const ipcRenderer = require('electron').ipcRenderer;
const session = remote.require('electron').session; //i'm trying to use the session module here
var app = remote.require('electron').app; //and here too
MAIN JS PROCESS
const {app} = require('electron')
var fs = require('fs');
const {ipcMain} = require('electron')
const {BrowserWindow} = require('electron')
const {session} = require('electron')
const {dialog} = require('electron')