diff --git a/docs/tutorial/first-app.md b/docs/tutorial/first-app.md index 4e44b09a2c0..d11fbb6cf9b 100644 --- a/docs/tutorial/first-app.md +++ b/docs/tutorial/first-app.md @@ -106,6 +106,8 @@ for the application to be ready and open a window: ```javascript const {app, BrowserWindow} = require('electron') +const path = require('path') +const url = require('url') function createWindow () { // Create the browser window.