atom-node-debugger
atom-node-debugger copied to clipboard
Debugger can't find "required" modules
I'm trying to run the debugger and it is failing on ... var globule = require('globule');
'globule' was installed globally using npm.
Interesting. Do you get some error message or hint of what is going on?
Here is the stack trace ...
Error: Cannot find module 'globule'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.
Here are the first 3 lines of the program ....
var fs = require('fs'); var globule = require('globule'); var child_process = require('child_process');
It can find nodes 'fs' but gives up when trying to get/find 'globule' which is installed globally on my box
npm -g ls globule C:\Users\Dick\AppData\Roaming\npm `-- [email protected]