I had encountered a problem using node-inspector
with info
cb(error, NM[0].ref); Cannot read property ‘ref’ of undefined
And one method to resolve it is to modify the packagge
Same issue with node v6.5.0 can be solved like this :
Edit …\node_modules\node-inspector\lib\InjectorClient.js file at line 111 if(NM.length > 0) cb(error, NM[0].ref);
It works
which is hack, and another method is without side-effect
use the local node-inspector
hope it helps