local not defined on line 62 #8

dylang opened this Issue Feb 7, 2013 · 0 comments


None yet
2 participants

dylang commented Feb 7, 2013

Getting this error:

                    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