node-glob: Cannot read property 'length' of undefined at Function.glob.hasMagic
Any idea why this could be happening?
22 08 2016 13:17:07.239:ERROR [karma]: TypeError: Cannot read property 'length' of undefined
at Function.glob.hasMagic (/Users/user/frontend/node_modules/glob/glob.js:106:29)
at rimraf (/Users/user/frontend/node_modules/rimraf/rimraf.js:61:36)
at Object.module.exports.remove (/Users/user/frontend/node_modules/karma/lib/temp_dir.js:28:5)
at Object._clearTempDirAndReportDone (/Users/user/frontend/node_modules/karma/lib/launchers/process.js:106:13)
at Object._onProcessExit (/Users/user/frontend/node_modules/karma/lib/launchers/process.js:102:10)
at ChildProcess.<anonymous> (/Users/user/frontend/node_modules/karma/lib/launchers/process.js:68:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 8
- Comments: 26 (2 by maintainers)
I’m getting this too in Travis but unable to recreate locally, although my colleague can. Which is pretty weird, frankly.