node-http-tunnel icon indicating copy to clipboard operation
node-http-tunnel copied to clipboard

"./client my-vps-ip" encounter error

Open luckypoem opened this issue 7 years ago • 0 comments

hi.

yudeMacBook-Air:node-http-tunnel brite$ ./client Usage: ./client TUNNEL_ADDRESS [MODE] # TUNNEL ADDRESS is the address of the tunnelling server. pass development as MODE for port 3001 yudeMacBook-Air:node-http-tunnel brite$ ./client my-vps-ip Client created LISTENING 127.0.0.1:8888 undefined:1

^

SyntaxError: Unexpected token < at Object.parse (native) at Request. (/Users/yuming/node-http-tunnel/lib/request_tunnel.js:156:23) at emitOne (events.js:90:13) at Request.emit (events.js:182:7) at IncomingMessage. (/Users/yuming/node-http-tunnel/node_modules/request/main.js:517:14) at emitNone (events.js:85:20) at IncomingMessage.emit (events.js:179:7) at endReadableNT (_stream_readable.js:906:12) at nextTickCallbackWith2Args (node.js:475:9) at process._tickCallback (node.js:389:17) yudeMacBook-Air:node-http-tunnel brite$

how to fix it?

luckypoem avatar Feb 22 '18 01:02 luckypoem