lissy93 / twitter-sentiment-visualisation Goto Github PK
View Code? Open in Web Editor NEWπ Sentiment analysis over real-time social media data, rendering live charts to visualise trends
π Sentiment analysis over real-time social media data, rendering live charts to visualise trends
After starting the mongodb command and running the npm start this is coming up
[email protected] start C:\New folder (2)\Wiki article\twitter-sentiment-visualisation
node ./bin/www
module.js:471
throw err;
^
Error: Cannot find module 'twit'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\utils\streamer.js:4:10)
at Object. (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\utils\streamer.js:91:4)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\app.js:52:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
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 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the twitter-sentiment-visualisation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs twitter-sentiment-visualisation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls twitter-sentiment-visualisation
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\atul dave\AppData\Roaming\npm-cache_logs\2017-04-20T17_33_28_916Z-debug.log
Not sure what 'Twit' module is since it is not in the package.json folder
Hi i am getting an error when i build/run
npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build" npm ERR! node v6.10.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] build:
gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the twitter-sentiment-visualisation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs twitter-sentiment-visualisation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls twitter-sentiment-visualisation
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\npm-debug.log
C:\New folder (2)\Wiki article\twitter-sentiment-visualisation>npm bugs twitter-sentiment-visualisation
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "bugs" "twitter-sentiment-visualisation"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/twitter-sentiment-visualisation
npm ERR! 404
npm ERR! 404 'twitter-sentiment-visualisation' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\npm-debug.log
`
Hi
Watson tone analyzer is not working , even when I entered new credentials , it is saying invalid credentials.Can you throw me some light on this?
Thanks in advance,
Manohar
also How to proceed further , for the below king of warning
WARNING: This method of instantiating the Watson services has been deprecated beginning with Version 3.0.0 of the Node SDK. Please refer to the Node SDK documentation for information on how t
o instantiate Watson services. This form of service instantiation will be removed in a future release of the SDK.
I fixed my bower missing dependencies issues in another issue thread, but after running NPM RUN CONFIG, I get the following error (note I have the latest nodejs and NPM):
/twitter-sentiment-visualisation$ npm run config
> [email protected] config /home/ubuntu/twitter-sentiment-visualisation
> gulp generate-config && start notepad 'config\src\keys.coffee'
[14:48:52] Using gulpfile ~/twitter-sentiment-visualisation/gulpfile.js
[14:48:52] Starting 'generate-config'...
[14:48:52] Finished 'generate-config' after 476 ΞΌs
sh: 1: start: not found
npm ERR! Linux 4.4.0-1013-aws
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v7.9.0/bin/node" "/home/ubuntu/.nvm/versions/node/v7.9.0/bin/npm" "run" "config"
npm ERR! node v7.9.0
npm ERR! npm v4.2.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] config: `gulp generate-config && start notepad 'config\src\keys.coffee'`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] config script 'gulp generate-config && start notepad 'config\src\keys.coffee''.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the twitter-sentiment-visualisation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp generate-config && start notepad 'config\src\keys.coffee'
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs twitter-sentiment-visualisation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls twitter-sentiment-visualisation
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/.npm/_logs/2017-04-20T14_48_52_913Z-debug.log
The project runs fine on the first go. But stopping it with Ctrl+C and restarting it(using npm start) produces
events.js: 161
throw er; //Unhandled 'error' event
I am able to rectify the error by restarting my system.
Bower is now deprecated, and needs to be removed. All bower libraries should now be installed with npm, and statically referenced
Hi I seem to have the bulk of the project working locally however I'm getting an error on the following line: twitter-sentiment-visualisation/routes/entity-api.js:21
ref = Object.keys(data);
It looks like my configuration for the API may not be correct. Currently I have:
exports.hp = {
apiKey: 'XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX'
};
Thanks
npm start
[email protected] start /Users/sathish/ORION/Sentiment/twitter-sentiment-visualisation
node ./bin/www
module.js:557
throw err;
^
Error: Cannot find module '../public/data/all_sentiment_results_edwardsnowdon.json'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/Users/sathish/ORION/Sentiment/twitter-sentiment-visualisation/routes/sa-comparison.js:8:16)
at Object. (/Users/sathish/ORION/Sentiment/twitter-sentiment-visualisation/routes/sa-comparison.js:86:4)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/Users/sathish/ORION/Sentiment/twitter-sentiment-visualisation/app.js:70:33)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
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! /Users/sathish/.npm/_logs/2018-02-14T07_36_11_410Z-debug.log
After setting the config keys and running the npm and bower installers. I got to the NPM run build in the project's dir. I got the following error:
~/twitter-sentiment-visualisation$ npm run build
> [email protected] build /home/ubuntu/twitter-sentiment-visualisation
> gulp build
[22:17:12] Using gulpfile ~/twitter-sentiment-visualisation/gulpfile.js
[22:17:12] Starting 'build'...
[22:17:12] Starting 'clean'...
[22:17:12] Finished 'clean' after 6.96 ms
[22:17:12] Starting 'scripts'...
[22:17:12] Finished 'scripts' after 43 ms
[22:17:12] Starting 'browserify'...
[22:17:12] Starting 'styles'...
[22:17:12] Starting 'images'...
[22:17:12] Finished 'images' after 1.5 ms
loading.coffee
β line 18 Line contains a trailing semicolon
β line 19 Line contains a trailing semicolon
β line 22 Line exceeds maximum allowed length Length is 81, max is 80
β 3 errors
break-down.coffee
β line 57 Line contains inconsistent indentation Expected 2 got 4
β line 79 Line contains inconsistent indentation Expected 2 got 4
β 2 errors
client-side-source/scripts/analytics.js
line 1 col 27 ['GoogleAnalyticsObject'] is better written in dot notation.
line 2 col 36 Missing semicolon.
line 2 col 56 Expected an assignment or function call and instead saw an expression.
line 3 col 30 Expected an assignment or function call and instead saw an expression.
line 3 col 80 Missing semicolon.
β 5 warnings
[22:17:12] Size analytics.js : 378 B
[22:17:12] Size loading.js : 872 B
[22:17:13] Size Tweet.js : 533 B
[22:17:13] Size async-tweets.js : 705 B
server-side-source/utils/fetch-sentiment-tweets.js
line 25 col 20 Did you mean to return a conditional instead of an assignment?
β 1 warning
[22:17:13] Size fetch-sentiment-tweets.js : 999 B
[22:17:13] Size app-config.js : 769 B
[22:17:13] Size keys.js : 467 B
[22:17:13] Size about.js : 176 B
server-side-source/routes/break-down.js
line 39 col 21 Did you mean to return a conditional instead of an assignment?
β 1 warning
[22:17:13] Size break-down.js : 2.65 kB
[22:17:13] Size db-api.js : 240 B
server-side-source/api-routes/entity-api.js
line 15 col 23 Did you mean to return a conditional instead of an assignment?
line 30 col 21 Did you mean to return a conditional instead of an assignment?
β 2 warnings
[22:17:13] Size entity-api.js : 789 B
client-side-source/scripts/visualisations/break-down.js
line 40 col 36 Use '!==' to compare with 'null'.
line 80 col 31 Did you mean to return a conditional instead of an assignment?
β 2 warnings
[22:17:13] Size break-down.js : 1.78 kB
client-side-source/scripts/visualisations/comparer.js
line 42 col 29 Did you mean to return a conditional instead of an assignment?
β 1 warning
[22:17:13] Size comparer.js : 1.08 kB
page-controls-module.coffee
β line 21 Line exceeds maximum allowed length Length is 81, max is 80
β 1 error
client-side-source/scripts/page-controls-module.js
line 14 col 31 Did you mean to return a conditional instead of an assignment?
line 40 col 21 Did you mean to return a conditional instead of an assignment?
line 42 col 21 Did you mean to return a conditional instead of an assignment?
line 48 col 22 Did you mean to return a conditional instead of an assignment?
β 4 warnings
[22:17:13] Size page-controls-module.js : 859 B
[22:17:13] Size comparison-for-search.js : 679 B
server-side-source/utils/format-for-keyword-vis.js
line 25 col 20 Use '===' to compare with 'null'.
line 34 col 30 Don't make functions within a loop.
line 90 col 26 Did you mean to return a conditional instead of an assignment?
β 3 warnings
[22:17:13] Size format-for-keyword-vis.js : 3.17 kB
[22:17:13] Size sample-keys.js : 488 B
server-side-source/routes/comparer.js
line 18 col 30 Don't make functions within a loop.
line 22 col 53 Don't make functions within a loop.
β 2 warnings
[22:17:13] Size comparer.js : 1.69 kB
server-side-source/api-routes/tone-api.js
line 32 col 25 Did you mean to return a conditional instead of an assignment?
line 45 col 30 Use '!==' to compare with 'null'.
line 57 col 24 Use '===' to compare with 'null'.
β 3 warnings
[22:17:13] Size tone-api.js : 1.27 kB
client-side-source/scripts/visualisations/comparison.js
line 26 col 102 Use '!==' to compare with 'null'.
line 156 col 59 Did you mean to return a conditional instead of an assignment?
β 2 warnings
[22:17:13] Size comparison.js : 4.98 kB
server-side-source/utils/format-tweets-for-map.js
line 36 col 34 Use '===' to compare with 'null'.
line 66 col 14 Don't make functions within a loop.
line 82 col 36 Use '!==' to compare with 'null'.
line 85 col 43 Use '===' to compare with 'null'.
line 88 col 43 Use '===' to compare with 'null'.
β 5 warnings
[22:17:13] Size format-tweets-for-map.js : 3.25 kB
server-side-source/routes/entity-extraction.js
line 29 col 21 Did you mean to return a conditional instead of an assignment?
β 1 warning
[22:17:13] Size entity-extraction.js : 2.50 kB
server-side-source/api-routes/trending-api.js
line 49 col 32 Use '===' to compare with 'null'.
line 92 col 30 Use '===' to compare with 'null'.
β 2 warnings
[22:17:13] Size trending-api.js : 2.13 kB
entity-extraction.coffee
β line 32 Line contains inconsistent indentation Expected 2 got 4
β line 34 Line contains inconsistent indentation Expected 2 got 0
β 2 errors
[22:17:13] Finished 'browserify' after 1.73 s
client-side-source/scripts/visualisations/entity-extraction.js
line 42 col 29 Did you mean to return a conditional instead of an assignment?
line 76 col 21 Did you mean to return a conditional instead of an assignment?
line 94 col 31 Did you mean to return a conditional instead of an assignment?
β 3 warnings
[22:17:13] Size entity-extraction.js : 2.77 kB
[22:17:13] Size get-complete-tweets.js : 1.75 kB
[22:17:13] Size globe.js : 1.08 kB
entity-summary.coffee
β line 8 Line exceeds maximum allowed length Length is 88, max is 80
β line 25 Line exceeds maximum allowed length Length is 102, max is 80
β 2 errors
make-click-words.coffee
β line 12 Line exceeds maximum allowed length Length is 81, max is 80
β 1 error
client-side-source/scripts/visualisations/entity-summary.js
line 11 col 15 Use '!==' to compare with 'null'.
β 1 warning
[22:17:13] Size entity-summary.js : 1.45 kB
[22:17:13] Size make-click-words.js : 551 B
[22:17:13] Size hexagons.js : 908 B
make-summary-sentences.coffee
β line 70 Line exceeds maximum allowed length Length is 81, max is 80
β 1 error
[22:17:14] Size gauge-module.js : 601 B
server-side-source/utils/make-summary-sentences.js
line 9 col 36 Use '!==' to compare with 'null'.
line 102 col 31 Use '!==' to compare with 'null'.
β 2 warnings
[22:17:14] Size make-summary-sentences.js : 3.45 kB
[22:17:14] Size index.js : 483 B
(node:22530) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
hexagons-module.coffee
β line 106 Line contains a trailing semicolon
β 1 error
make-timeline-data.coffee
β line 28 Line exceeds maximum allowed length Length is 81, max is 80
β line 30 Line exceeds maximum allowed length Length is 81, max is 80
β 2 errors
client-side-source/scripts/visualisations/hexagons-module.js
line 92 col 16 Did you mean to return a conditional instead of an assignment?
line 96 col 16 Did you mean to return a conditional instead of an assignment?
β 2 warnings
[22:17:14] Size hexagons-module.js : 3.54 kB
[22:17:14] Size make-timeline-data.js : 2.62 kB
[22:17:14] Size map.js : 1.07 kB
[22:17:14] Size home-page.js : 1.09 kB
server-side-source/utils/stream-handler.js
line 38 col 34 Use '!==' to compare with 'null'.
line 41 col 41 Use '===' to compare with 'null'.
line 44 col 41 Use '===' to compare with 'null'.
β 3 warnings
[22:17:14] Size stream-handler.js : 2.40 kB
[22:17:14] Size now.js : 202 B
[22:17:15] Size all.min.css : 4.61 kB
radar-module.coffee
β line 23 Line exceeds maximum allowed length Length is 81, max is 80
β 1 error
streamer.coffee
β line 5 Class name should be UpperCamelCased class name: streamer
β 1 error
[22:17:15] Size radar-module.js : 2.35 kB
server-side-source/utils/streamer.js
line 68 col 24 Did you mean to return a conditional instead of an assignment?
β 1 warning
[22:17:15] Size streamer.js : 2.12 kB
[22:17:15] Size real-time.js : 207 B
[22:17:15] Finished 'styles' after 3.29 s
[22:17:15] Finished 'build' after 3.35 s
real-time-dash.coffee
β line 31 Line exceeds maximum allowed length Length is 99, max is 80
β line 54 Line exceeds maximum allowed length Length is 85, max is 80
β line 69 Line contains a trailing semicolon
β 3 errors
region-map.coffee
β line 21 Line exceeds maximum allowed length Length is 88, max is 80
β 1 error
[22:17:15] Size real-time-dash.js : 2.21 kB
[22:17:15] Size watson-tone-analyzer.js : 929 B
server-side-source/routes/region-map.js
line 63 col 18 Use '===' to compare with 'null'.
line 77 col 18 Use '===' to compare with 'null'.
line 88 col 18 Use '===' to compare with 'null'.
β 3 warnings
[22:17:15] Size region-map.js : 2.68 kB
[22:17:15] Size sa-comparison.js : 2.18 kB
render-tone-bars-module.coffee
β line 8 Line exceeds maximum allowed length Length is 109, max is 80
β 1 error
[22:17:15] Size render-tone-bars-module.js : 1.04 kB
[22:17:15] Size search.js : 2.62 kB
text-tweets.coffee
β line 20 Line exceeds maximum allowed length Length is 87, max is 80
β 1 error
[22:17:15] Size text-tweets.js : 1.87 kB
[22:17:17] Size timeline.js : 621 B
[22:17:18] Size word-cloud.bundle.js : 12.52 kB
[22:17:18] Size globe.bundle.js : 16.08 kB
[22:17:18] Size now.bundle.js : 36.21 kB
[22:17:18] Size search-summary.bundle.js : 24.12 kB
text-tweets.coffee
β line 8 Line exceeds maximum allowed length Length is 81, max is 80
β line 28 Line contains a trailing semicolon
β 2 errors
[22:17:18] Size regions.bundle.js : 13.11 kB
client-side-source/scripts/visualisations/text-tweets.js
line 66 col 31 Did you mean to return a conditional instead of an assignment?
β 1 warning
[22:17:18] Size text-tweets.js : 1.86 kB
[22:17:18] Size tone-analyzer.js : 347 B
[22:17:19] Size scatter-words.bundle.js : 991.78 kB
[22:17:19] Size tone-analysis.bundle.js : 24.02 kB
[22:17:20] Size trending.js : 414 B
[22:17:20] Size word-cloud.js : 621 B
[22:17:22] Size trending-bubble-chart.js : 0 B
[22:17:22] Size word-plot.js : 640 B
trending.coffee
β line 93 Line exceeds maximum allowed length Length is 82, max is 80
β line 102 Line contains a trailing semicolon
β 2 errors
client-side-source/scripts/visualisations/trending.js
line 94 col 25 Use '===' to compare with 'null'.
line 126 col 34 Did you mean to return a conditional instead of an assignment?
line 136 col 34 Did you mean to return a conditional instead of an assignment?
β 3 warnings
[22:17:22] Size trending.js : 3.51 kB
[22:17:25] Size timeline.bundle.js : 4.64 MB
[22:17:25] Size map.bundle.js : 84.43 kB
The search term page seems to be working fine with the sentiment summary. However any link from the search page for eg - Word cloud, entity extraction, Raw tweets and even searching again from the same page gives the same exact error
POST /api/db 200 107.876 ms - 3807
C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\routes\entity-api.js:21
ref = Object.keys(data);
^
TypeError: Cannot convert undefined or null to object
at formatData (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\routes\entity-api.js:21:18)
at C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\routes\entity-api.js:37:23
at Request._callback (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\node_modules\haven-entity-extraction\index.js:64:16)
at Request.self.callback (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\node_modules\request\request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\node_modules\request\request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (C:\New folder (2)\Wiki article\twitter-sentiment-visualisation\node_modules\request\request.js:1091:12)
at IncomingMessage.g (events.js:291:16)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
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 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the twitter-sentiment-visualisation package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs twitter-sentiment-visualisation
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls twitter-sentiment-visualisation
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\atul dave\AppData\Roaming\npm-cache_logs\2017-04-27T16_44_52_078Z-debug.log
While trying to install the dependencies bower is failing on various packages with a 404 error:
bower validate 0.4.18 against https://github.com/masayuki0812/c3.git#~0.4.10
bower EHTTP Status code of 404
bower validate 0.1.9 against https://github.com/ArtemFitiskin/jquery-autocompleter.git#~0.1.9
bower EHTTP Status code of 404
Tried to diagnose this manually but haven't found any inconsistencies
Hi...
haven't had the chance to run it yet, seems awesome project btw,
it would be cool to have a docker-compose file to run it locally :)
Hi
When I'm performing search I'm getting an error like below. Page is loaded with sentiment hexagons only and process is crashed/down.
/../sentiment/twitter-sentiment-visualisation/routes/entity-api.js:21
ref = Object.keys(data);
^
TypeError: Cannot convert undefined or null to object
at Function.keys ()
at formatData (/../sentiment/twitter-sentiment-visualisation/routes/entity-api.js:21:18)
My keys.js file looks like below:
(function() {
exports.twitter = {
consumer_key: 'CCdQ24zCJFfsdG4vG5tPK9qHWhQ',
consumer_secret: '3tz4HtaXVy6WsfsmtZwyq3i0SonfffFgZ4p4UL1fQCRJ3',
token: '412355982-u0aNeaPTzljreffH0sseORffffff16zpjuwDFH',
token_secret: 'ubqRht1aDQ5cHUffffEuNWNVDYfsmrffffn725Fr'
};
exports.googlePlaces = 'AIzaSyAsfesfOWg2XhA9Uam0Gn3rydpXXffffOyOvQ';
exports.hp = '8fea4345-6d9c-4832-b70f-29d0ac7ffffe4';
exports.watson = { username: '0d747458-27c9-4e26-9461-48ef7bee116c', password:'hj3HEVffff3'};
}).call(this);
(Of course I've masked credentials data :))
Can you suggest some solution ?
what u use as alternative? i see demo is working
hexagons-module.js:32 Uncaught TypeError: Cannot read property 'attr' of undefined
at renderHexChart (hexagons-module.js:32)
at hexagons-module.js:114
at hexagons-module.js:152
After running NPM RUN CONFIG, I get the following error (note I have the latest nodejs and NPM):
nithin@nithin-VirtualBox:~/twitter-sentiment-visualisation$ sudo npm run config
[email protected] config /home/nithin/twitter-sentiment-visualisation
gulp generate-config && start notepad 'config\src\keys.coffee'
[11:39:20] Using gulpfile ~/twitter-sentiment-visualisation/gulpfile.js
[11:39:20] Starting 'generate-config'...
[11:39:20] Finished 'generate-config' after 354 ΞΌs
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] config: gulp generate-config && start notepad 'config\src\keys.coffee'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] config 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! /home/nithin/.npm/_logs/2018-04-29T06_09_20_518Z-debug.log
Set Config yarn run config will generate the config\src\keys.coffee file, which you will then need to populate with your API keys and save. Also check that your happy with the general app config in config/src/app-config.coffee.
Hi ,
I followed the steps given under running locally. But "bower install" in step 3 generates an error. Its because some of the dependencies return "404:Not found" status. They are
**"markerclusterer_compiled": "https://raw.githubusercontent.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer_compiled.js",**
**"socket.io": "https://raw.githubusercontent.com/socketio/socket.io-client/master/socket.io.js",**
**"d3-word-cloud": "https://jardindesconnaissances.googlecode.com/svn-history/r82/trunk/public/js/d3.layout.cloud.js",**
Also when I "npm run build" it generates several errors in the various coffee files.Kindly look into it
P.S : I am working in Ubuntu 14.04
π¨ You need to enable Continuous Integration on all branches of this repository. π¨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didnβt receive a CI status on the greenkeeper/initial
branch, itβs possible that you donβt have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how itβs configured. Make sure it is set to run on all new branches. If you donβt want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, youβll need to re-trigger Greenkeeperβs initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper Appβs white list on Github. You'll find this list on your repo or organizationβs settings page, under Installed GitHub Apps.
After the latest release, the Twitter streaming has become temperamental and significantly slower- but only when accessing a deployed version via a domain (e.g. http://sentiment-sweep.com ) as opposed to an IP + port (e.g. http://109.73.175.183:3003/ )
See this Q on SO, for more details.
But why? #bindBlown π€―
Google places no longer returning valid place name.
Hi,
In the search tab, I am unable to look for a hashtag. The app seems to be handling it since the hashtag is displayed in the URL (e.g. http:///url/search/#hashtag) but the '#' character is not encoded into URL friendly characters (something like http://url/search/%23hashtag). Because of this, I can not access the search results.
My javascript is a little rusty but it does not seem to be a lot a work. If it is OK with you I will try to fix this. As soon as I do I will submit a pull request.
Cheers !
C:\Users\user\twitter-sentiment-visualisation>yarn run config
yarn run v1.22.4
$ gulp generate-config && start notepad 'config\src\keys.coffee'
fs.js:35
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (C:\Users\user\twitter-sentiment-visualisation\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\user\twitter-sentiment-visualisation\node_modules\natives\index.js:55:10)
at Object. (C:\Users\user\twitter-sentiment-visualisation\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
error Command failed with exit code 1.
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!
When I run bower build in the project's directory, I get the following error:
:~/twitter-sentiment-visualisation$ bower install
bower not-cached https://raw.githubusercontent.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer_compiled.js#*
bower resolve https://raw.githubusercontent.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer_compiled.js#*
bower not-cached https://raw.githubusercontent.com/socketio/socket.io-client/master/socket.io.js#*
bower resolve https://raw.githubusercontent.com/socketio/socket.io-client/master/socket.io.js#*
bower not-cached https://jardindesconnaissances.googlecode.com/svn-history/r82/trunk/public/js/d3.layout.cloud.js#*
bower resolve https://jardindesconnaissances.googlecode.com/svn-history/r82/trunk/public/js/d3.layout.cloud.js#*
bower download https://raw.githubusercontent.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer_compiled.js
bower download https://raw.githubusercontent.com/socketio/socket.io-client/master/socket.io.js
bower download https://jardindesconnaissances.googlecode.com/svn-history/r82/trunk/public/js/d3.layout.cloud.js
bower cached https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/third-party/Detector.js#e-tag:1c074b833
bower validate e-tag:1c074b833 against https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/third-party/Detector.js#*
bower cached https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/third-party/Tween.js#e-tag:bdf141ad0
bower validate e-tag:bdf141ad0 against https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/third-party/Tween.js#*
bower cached https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/globe.js#e-tag:806e56971
bower validate e-tag:806e56971 against https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/globe.js#*
bower cached https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/third-party/three.min.js#e-tag:a88b4afa7
bower validate e-tag:a88b4afa7 against https://raw.githubusercontent.com/dataarts/webgl-globe/master/globe/third-party/three.min.js#*
bower cached https://cdnjs.cloudflare.com/ajax/libs/jquery.tipsy/1.0.2/jquery.tipsy.js
bower validate https://cdnjs.cloudflare.com/ajax/libs/jquery.tipsy/1.0.2/jquery.tipsy.js#*
bower cached https://raw.githubusercontent.com/d3/d3-plugins/master/sankey/sankey.js#e-tag:abe137b21
bower validate e-tag:abe137b21 against https://raw.githubusercontent.com/d3/d3-plugins/master/sankey/sankey.js#*
bower cached http://d3js.org/d3.hexbin.v0.min.js
bower validate http://d3js.org/d3.hexbin.v0.min.js#*
bower cached https://github.com/alangrafu/radar-chart-d3.git#1.2.1
bower validate 1.2.1 against https://github.com/alangrafu/radar-chart-d3.git#~1.2.1
bower cached https://raw.githubusercontent.com/Caged/d3-tip/master/index.js#e-tag:6731005c1
bower validate e-tag:6731005c1 against https://raw.githubusercontent.com/Caged/d3-tip/master/index.js#*
bower cached https://gist.githubusercontent.com/mbostock/4061961/raw/6eb742223b9795260ba62150196ed0ae4a461e39/bullet.js#e-tag:3c7e5143d
bower validate e-tag:3c7e5143d against https://gist.githubusercontent.com/mbostock/4061961/raw/6eb742223b9795260ba62150196ed0ae4a461e39/bullet.js#*
bower cached https://github.com/GoogleWebComponents/google-chart.git#1.0.6
bower validate 1.0.6 against https://github.com/GoogleWebComponents/google-chart.git#~1.0.4
bower cached https://github.com/GoogleWebComponents/google-map.git#1.0.6
bower validate 1.0.6 against https://github.com/GoogleWebComponents/google-map.git#~1.0.3
bower cached https://github.com/mbostock-bower/d3-bower.git#3.5.17
bower validate 3.5.17 against https://github.com/mbostock-bower/d3-bower.git#~3.5.16
bower cached https://github.com/jquery/jquery-dist.git#2.1.4
bower validate 2.1.4 against https://github.com/jquery/jquery-dist.git#~2.1.4
bower cached https://github.com/Dogfalo/materialize.git#0.97.8
bower validate 0.97.8 against https://github.com/Dogfalo/materialize.git#~0.97.5
bower cached https://github.com/masayuki0812/c3.git#0.4.11
bower validate 0.4.11 against https://github.com/masayuki0812/c3.git#~0.4.10
bower cached https://github.com/Dogfalo/materialize.git#0.97.8
bower validate 0.97.8 against https://github.com/Dogfalo/materialize.git#~0.97.5
bower cached https://github.com/novus/nvd3.git#1.8.5
bower validate 1.8.5 against https://github.com/novus/nvd3.git#~1.8.2
bower cached https://github.com/ArtemFitiskin/jquery-autocompleter.git#0.1.9
bower validate 0.1.9 against https://github.com/ArtemFitiskin/jquery-autocompleter.git#~0.1.9
bower EHTTP Status code of 404
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.