TypeError: Cannot read property '1' of null
at Object.module.exports.Detected.detect (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/useragent-base.js:5630:91)
at Object.module.exports.Detected.initialize (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/useragent-base.js:2556:18)
at Object.module.exports.Detected (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/useragent-base.js:2533:25)
at new module.exports (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/ua-device.js:3:18)
at /Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/test/uatest.js:35:16
at /Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:277:11
at getLine (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:166:7)
at Object.nextLine (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:183:7)
at Immediate.readNext (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:269:14)
at runCallback (timers.js:570:20)
/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/useragent-base.js:5630 if (this.os.name !== 'iOS' && /AppleWebKit\/([0-9]+.[0-9]+)/i.exec(ua)[1] !== /Safari\/([0-9]+.[0-9]+)/i.exec(ua)[1]) { ^
TypeError: Cannot read property '1' of null at Object.module.exports.Detected.detect (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/useragent-base.js:5630:91) at Object.module.exports.Detected.initialize (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/useragent-base.js:2556:18) at Object.module.exports.Detected (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/useragent-base.js:2533:25) at new module.exports (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/ua-device/lib/ua-device.js:3:18) at /Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/test/uatest.js:35:16 at /Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:277:11 at getLine (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:166:7) at Object.nextLine (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:183:7) at Immediate.readNext (/Users/qitmac000475/Documents/myWorkspace/qreport_mapping/qreport_mapping/node_modules/line-reader/lib/line_reader.js:269:14) at runCallback (timers.js:570:20)