Skip to content

TypeError: Cannot call method 'on' of undefined #664

@kpbird

Description

@kpbird

listen on port 8080
info - socket.io started

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot call method 'on' of undefined
at Object.listen (/Users/ketanparmar/Documents/ngrid.js:14:19)
at Object. (/Users/ketanparmar/Documents/njsgrid/examples/wordcount/app.js:4:7)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions