diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index 2c3913f75..6d277d511 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -60,7 +60,7 @@ const driver = options => { const browser = new Browser(); browser.visit(url, error => { - if ( !browser.resources['0'].response ) { + if ( !browser.resources['0'] || !browser.resources['0'].response ) { return wappalyzer.log('No response from server', 'driver', 'error'); }