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

I can't seem to run the project #8

Closed lifeiscontent closed 9 years ago

lifeiscontent commented 9 years ago

I've done all the required steps in the readme.

but when I run node server.js I get the following errors:

react-tweets (master) $ node server.js
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/lifeiscontent/Workspace/Javascript/react-tweets/node_modules/ntwitter/lib/twitter.js:251:14)
    at ClientRequest.emit (events.js:95:17)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1693:21)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:122:23)
    at CleartextStream.socketOnData [as ondata] (http.js:1588:20)
    at CleartextStream.read [as _read] (tls.js:514:12)
    at CleartextStream.Readable.read (_stream_readable.js:341:10)
    at EncryptedStream.write [as _write] (tls.js:369:25)
react-tweets (master) $
lifeiscontent commented 9 years ago

nevermind, I just forgot the API keys.