TypeError: Cannot call method 'check' of undefined #105

Closed
samholmes opened this Issue Jun 6, 2012 · 2 comments

Projects

None yet

2 participants

@samholmes

I'm running on Windows Vista SP2 64bit. I'm getting this error on nodemon 0.6.19:

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: Cannot call method 'check' of undefined
    at Object.<anonymous> (C:\Users\******\AppData\Roaming\npm\node_modules\nodemon\nodemon.js:62:20)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Array.0 (module.js:479:10)
    at EventEmitter._tickCallback (node.js:192:40)

I moved lines 112 - 160 to lines 41 - 89 and it fixed it.

@dylanmcd dylanmcd added a commit to dylanmcd/nodemon that referenced this issue Jun 6, 2012
@dylanmcd dylanmcd Fix #104 and #105, move the tests and starting process to it's own fu…
…nction that starts at the end of the file to avoid calling undefined variables
fc50eaa
@remy
Owner
remy commented Jun 7, 2012

Bumped the versions with @dylanmcd's fixes. @samholmes can you do an npm up -g nodemon to test?

@samholmes

It works great! Thanks.

@samholmes samholmes closed this Jun 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment