twitter-sentiment-visualisation icon indicating copy to clipboard operation
twitter-sentiment-visualisation copied to clipboard

Error on start: Bad Twitter streaming request: 401

Open Krigsa opened this issue 7 years ago • 0 comments

Hi, once I've built correctly (I think) and I try to start while my MongoDB is running, i got this error: [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. events.js:174 throw er; // Unhandled 'error' event ^

Error: Bad Twitter streaming request: 401 at Object.exports.makeTwitError (C:\Users\Pab\twitter-sentiment-visualisation-dev\node_modules\twit\lib\helpers.js:74:13) at Request. (C:\Users\Pab\twitter-sentiment-visualisation-dev\node_modules\twit\lib\streaming-api-connection.js:96:29) at Request.emit (events.js:194:15) at Gunzip. (C:\Users\Pab\twitter-sentiment-visualisation-dev\node_modules\request\request.js:1083:12) at Object.onceWrapper (events.js:277:13) at Gunzip.emit (events.js:194:15) at endReadableNT (_stream_readable.js:1103:12) at process._tickCallback (internal/process/next_tick.js:63:19) Emitted 'error' event at: at Request. (C:\Users\Pab\twitter-sentiment-visualisation-dev\node_modules\twit\lib\streaming-api-connection.js:99:14) at Request.emit (events.js:194:15) [... lines matching original stack trace ...] at process._tickCallback (internal/process/next_tick.js:63:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: node ./bin/www npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Pab\AppData\Roaming\npm-cache_logs\2019-03-06T17_38_49_290Z-debug.log

I'm guessing it is from an autorisation issue but I'm not sure neither where it occurs precisly (though I think it comes from the www file) nor how to fix it. Thanks in advance!

Krigsa avatar Mar 06 '19 17:03 Krigsa