{"action":"created","issue":{"url":"https://api.github.com/repos/whphhg/vanillacoind-web-ui/issues/3","repository_url":"https://api.github.com/repos/whphhg/vanillacoind-web-ui","labels_url":"https://api.github.com/repos/whphhg/vanillacoind-web-ui/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/whphhg/vanillacoind-web-ui/issues/3/comments","events_url":"https://api.github.com/repos/whphhg/vanillacoind-web-ui/issues/3/events","html_url":"https://github.com/whphhg/vanillacoind-web-ui/issues/3","id":131969845,"number":3,"title":"Run time error.","user":{"login":"Yanatecho","id":4666552,"avatar_url":"https://avatars.githubusercontent.com/u/4666552?v=3","gravatar_id":"","url":"https://api.github.com/users/Yanatecho","html_url":"https://github.com/Yanatecho","followers_url":"https://api.github.com/users/Yanatecho/followers","following_url":"https://api.github.com/users/Yanatecho/following{/other_user}","gists_url":"https://api.github.com/users/Yanatecho/gists{/gist_id}","starred_url":"https://api.github.com/users/Yanatecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yanatecho/subscriptions","organizations_url":"https://api.github.com/users/Yanatecho/orgs","repos_url":"https://api.github.com/users/Yanatecho/repos","events_url":"https://api.github.com/users/Yanatecho/events{/privacy}","received_events_url":"https://api.github.com/users/Yanatecho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-07T13:44:12Z","updated_at":"2016-02-07T21:32:08Z","closed_at":null,"body":"npm start\r\n```\r\n> vanillacoind-web-ui@0.1.0 start /home/username/vanillacoind-web-ui\r\n> node ./bin/www\r\nVanilla WebUI viewable on 127.0.0.1:1721.\r\n```\r\n\r\nthen I open web browser and go to 127.0.0.1:1721\r\n\r\n```\r\nGET / 304 3394.017 ms - -\r\nGET /stylesheets/default.css 200 22.811 ms - 3401\r\nGET /javascripts/timeseries.js 200 14.161 ms - 5948\r\nGET /javascripts/rewards_per_day.js 200 13.107 ms - 2264\r\nGET /images/vanilla.png 200 15.689 ms - 1891\r\n\r\n/home/username/vanillacoind-web-ui/routes/index.js:1126\r\n      promises.push(new Promise(function(resolve, reject) {\r\n                        ^\r\nReferenceError: Promise is not defined\r\n    at update (/home/username/vanillacoind-web-ui/routes/index.js:1126:25)\r\n    at null._onTimeout (/home/username/vanillacoind-web-ui/routes/index.js:1238:7)\r\n    at Timer.listOnTimeout [as ontimeout] (timers.js:121:15)\r\n\r\nnpm ERR! Linux 3.19.0-49-generic\r\nnpm ERR! argv \"node\" \"/usr/bin/npm\" \"start\"\r\nnpm ERR! node v0.10.41\r\nnpm ERR! npm  v2.14.17\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! vanillacoind-web-ui@0.1.0 start: `node ./bin/www`\r\nnpm ERR! Exit status 8\r\nnpm ERR! \r\nnpm ERR! Failed at the vanillacoind-web-ui@0.1.0 start script 'node ./bin/www'.\r\nnpm ERR! This is most likely a problem with the vanillacoind-web-ui package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node ./bin/www\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs vanillacoind-web-ui\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR! \r\nnpm ERR!     npm owner ls vanillacoind-web-ui\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/username/vanillacoind-web-ui/npm-debug.log\r\n```\r\n\r\nand this is log file\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'node', '/usr/bin/npm', 'start' ]\r\n2 info using npm@2.14.17\r\n3 info using node@v0.10.41\r\n4 verbose node symlink /usr/bin/node\r\n5 verbose run-script [ 'prestart', 'start', 'poststart' ]\r\n6 info prestart vanillacoind-web-ui@0.1.0\r\n7 info start vanillacoind-web-ui@0.1.0\r\n8 verbose unsafe-perm in lifecycle true\r\n9 info vanillacoind-web-ui@0.1.0 Failed to exec start script\r\n10 verbose stack Error: vanillacoind-web-ui@0.1.0 start: `node ./bin/www`\r\n10 verbose stack Exit status 8\r\n10 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)\r\n10 verbose stack     at EventEmitter.emit (events.js:98:17)\r\n10 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)\r\n10 verbose stack     at ChildProcess.emit (events.js:98:17)\r\n10 verbose stack     at maybeClose (child_process.js:766:16)\r\n10 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:833:5)\r\n11 verbose pkgid vanillacoind-web-ui@0.1.0\r\n12 verbose cwd /home/username/vanillacoind-web-ui\r\n13 error Linux 3.19.0-49-generic\r\n14 error argv \"node\" \"/usr/bin/npm\" \"start\"\r\n15 error node v0.10.41\r\n16 error npm  v2.14.17\r\n17 error code ELIFECYCLE\r\n18 error vanillacoind-web-ui@0.1.0 start: `node ./bin/www`\r\n18 error Exit status 8\r\n19 error Failed at the vanillacoind-web-ui@0.1.0 start script 'node ./bin/www'.\r\n19 error This is most likely a problem with the vanillacoind-web-ui package,\r\n19 error not with npm itself.\r\n19 error Tell the author that this fails on your system:\r\n19 error     node ./bin/www\r\n19 error You can get information on how to open an issue for this project with:\r\n19 error     npm bugs vanillacoind-web-ui\r\n19 error Or if that isn't available, you can get their info via:\r\n19 error\r\n19 error     npm owner ls vanillacoind-web-ui\r\n19 error There is likely additional logging output above.\r\n20 verbose exit [ 1, true ]\r\n```\r\n\r\nps aux | grep vanilla\r\n\r\n```\r\nusername       6777  0.0  0.0  31308  2424 ?        Ss   20:39   0:00 SCREEN -d -S vanillacoind -m ./vanillacoind\r\nusername       6778  6.3  7.2 336780 291604 pts/13  Ssl+ 20:39   0:08 ./vanillacoind\r\n```"},"comment":{"url":"https://api.github.com/repos/whphhg/vanillacoind-web-ui/issues/comments/181122134","html_url":"https://github.com/whphhg/vanillacoind-web-ui/issues/3#issuecomment-181122134","issue_url":"https://api.github.com/repos/whphhg/vanillacoind-web-ui/issues/3","id":181122134,"user":{"login":"whphhg","id":12498154,"avatar_url":"https://avatars.githubusercontent.com/u/12498154?v=3","gravatar_id":"","url":"https://api.github.com/users/whphhg","html_url":"https://github.com/whphhg","followers_url":"https://api.github.com/users/whphhg/followers","following_url":"https://api.github.com/users/whphhg/following{/other_user}","gists_url":"https://api.github.com/users/whphhg/gists{/gist_id}","starred_url":"https://api.github.com/users/whphhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whphhg/subscriptions","organizations_url":"https://api.github.com/users/whphhg/orgs","repos_url":"https://api.github.com/users/whphhg/repos","events_url":"https://api.github.com/users/whphhg/events{/privacy}","received_events_url":"https://api.github.com/users/whphhg/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T21:32:08Z","updated_at":"2016-02-07T21:32:08Z","body":"The latest version of Node.js is 5.5.0, you're using 0.12.0. In 0.12.0 Object.assign is not supported, hence the error.\r\n\r\nThere's nothing else you need to do then update Nodejs to the latest version, that's it. :)"}}