local not defined on line 62 #8

Closed
dylang opened this Issue Feb 7, 2013 · 0 comments

Comments

Projects
None yet
2 participants

dylang commented Feb 7, 2013

Getting this error:

/usr/local/lib/node_modules/localtunnel/client.js:62
                    local.emit('error', err);
                    ^
ReferenceError: local is not defined
    at Socket.remote_attempts (/usr/local/lib/node_modules/localtunnel/client.js:62:21)
    at Socket.g (events.js:192:14)
    at Socket.EventEmitter.emit (events.js:126:20)
    at Socket._destroy.self.errorEmitted (net.js:329:14)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)

Seems that local is not defined:

            remote.once('error', function(err) {
                if (err.code !== 'ECONNREFUSED') {
                    local.emit('error', err);
                }

                // retrying connection to local server
                setTimeout(conn, 1000);
            });

I'm also having the problem with static content on Express not loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment