scotch-io / react-tweets

Code repository for the tutorial by @kenwheeler: Build A Real-Time Twitter Stream with Node and React.js
http://scotch.io/tutorials/javascript/build-a-real-time-twitter-stream-with-node-and-react-js
697 stars 342 forks source link

ntwitter throwing error? #5

Closed szarapka closed 9 years ago

szarapka commented 9 years ago

I ran into this issue with my app, and also ran into the same issue when checking out master...

Express server listening on port 8080

events.js:74
        throw TypeError('Uncaught, unspecified "error" event.');
              ^
TypeError: Uncaught, unspecified "error" event.
    at TypeError (<anonymous>)
    at EventEmitter.emit (events.js:74:15)
    at ClientRequest.<anonymous> (/Users/scottszarapka/Desktop/react-tweets-master/node_modules/ntwitter/lib/twitter.js:251:14)
    at ClientRequest.emit (events.js:95:17)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1688:21)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)
    at CleartextStream.socketOnData [as ondata] (http.js:1583:20)
    at CleartextStream.read [as _read] (tls.js:513:12)
    at CleartextStream.Readable.read (_stream_readable.js:340:10)
    at EncryptedStream.write [as _write] (tls.js:368:25)
szarapka commented 9 years ago

Nevermind, forgot to populate my config.js.