{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7666","repository_url":"https://api.github.com/repos/HabitRPG/habitrpg","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7666/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7666/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7666/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/7666","id":160458551,"number":7666,"title":"PhantomJS! PhantomJS!  PhantomJS no found again.","user":{"login":"mistkafka","id":3391470,"avatar_url":"https://avatars.githubusercontent.com/u/3391470?v=3","gravatar_id":"","url":"https://api.github.com/users/mistkafka","html_url":"https://github.com/mistkafka","followers_url":"https://api.github.com/users/mistkafka/followers","following_url":"https://api.github.com/users/mistkafka/following{/other_user}","gists_url":"https://api.github.com/users/mistkafka/gists{/gist_id}","starred_url":"https://api.github.com/users/mistkafka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistkafka/subscriptions","organizations_url":"https://api.github.com/users/mistkafka/orgs","repos_url":"https://api.github.com/users/mistkafka/repos","events_url":"https://api.github.com/users/mistkafka/events{/privacy}","received_events_url":"https://api.github.com/users/mistkafka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T15:55:22Z","updated_at":"2016-06-18T05:36:47Z","closed_at":null,"body":"[//]: # (Before logging this issue, look through common problems at https://github.com/HabitRPG/habitrpg/issues If you find your issue there, read at least the first post to see if there is a workaround for you)\r\n\r\n[//]: # (Github is primarily used for reporting bugs. If you have a feature request, use \"Help > Request a Feature\" so that the feature request can be vetted by the larger Habitica community)\r\n\r\n[//]: # (To report a bug in one of the mobile apps, please report it in the correct repository. Android: https://github.com/HabitRPG/habitrpg-android, iOS: https://github.com/HabitRPG/habitrpg-ios)\r\n\r\n[//]: # (For more guidelines see https://github.com/HabitRPG/habitrpg/issues/2760)\r\n\r\n[//]: # (Fill out relevant information - UUID is found in Settings -> API)\r\nGeneral Info\r\n  * UUID: \r\n  * Browser: \r\n  * OS: CentOS7 (on VM)\r\n\r\n### Description\r\n[//]: # (Describe bug in detail here. Include pictures if helpful.)\r\n\r\nI have read [Setting up Habitica Locally](http://habitica.wikia.com/wiki/Setting_up_Habitica_Locally). And I read [#7090](https://github.com/HabitRPG/habitrpg/issues/7090#issuecomment-214714317). Yes, we need swap file, and I create a 8GB swap file. But, it still error when I run npm install.\r\n\r\n\r\n#### Console Errors\r\n````\r\nConsidering PhantomJS found at /media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.bin/phantomjs\r\nLooks like an `npm install -g`\r\nError checking path, continuing { [Error: Cannot find module '/media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/phantomjs/1.9.20/phantomjs/lib/location'] code: 'MODULE_NOT_FOUND' }\r\nPhantom installation failed [TypeError: Path must be a string. Received undefined] TypeError: Path must be a string. Received undefined\r\n    at assertPath (path.js:8:11)\r\n    at Object.posix.join (path.js:479:5)\r\n    at findSuitableTempDirectory (/media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/phantomjs-prebuilt/2.1.7/phantomjs-prebuilt/install.js:127:30)\r\n    at /media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/phantomjs-prebuilt/2.1.7/phantomjs-prebuilt/install.js:476:19\r\n    at nextTickCallback (/media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/kew/0.7.0/kew/kew.js:47:28)\r\n    at nextTickCallbackWith0Args (node.js:420:9)\r\n    at process._tickCallback (node.js:349:13)\r\nError: post install error, please remove node_modules before retry!\r\nRun \"sh -c node install.js\" error, exit code 1\r\nError: post install error, please remove node_modules before retry!\r\nRun \"sh -c node install.js\" error, exit code 1\r\n    at ChildProcess.<anonymous> (/root/.nvm/versions/node/v4.4.5/lib/node_modules/cnpm/node_modules/npminstall/node_modules/runscript/index.js:67:21)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:172:7)\r\n    at maybeClose (internal/child_process.js:827:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n````"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/226923500","html_url":"https://github.com/HabitRPG/habitrpg/issues/7666#issuecomment-226923500","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7666","id":226923500,"user":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T05:36:47Z","updated_at":"2016-06-18T05:36:47Z","body":"Can you please delete the node_modules directory, do `npm cache clean`,\nthen `npm install` again, twice if the first one gives any errors, and then\nif the second one fails as well, show us the full output of both install\nattempts.\n\nOn Thu, 16 Jun 2016 1:55 am 迷雾卡夫卡, <notifications@github.com> wrote:\n\n> General Info\n>\n>    - UUID:\n>    - Browser:\n>    - OS: CentOS7 (on VM)\n>\n> Description\n>\n> I have read Setting up Habitica Locally\n> <http://habitica.wikia.com/wiki/Setting_up_Habitica_Locally>. And I read\n> #7090\n> <https://github.com/HabitRPG/habitrpg/issues/7090#issuecomment-214714317>.\n> Yes, we need swap file, and I create a 8GB swap file. But, it still error\n> when I run npm install.\n> Console Errors\n>\n> Considering PhantomJS found at\n> /media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.bin/phantomjs\n> Looks like an npm install -g\n> Error checking path, continuing { [Error: Cannot find module\n> '/media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/phantomjs/1.9.20/phantomjs/lib/location']\n> code: 'MODULE_NOT_FOUND' }\n> Phantom installation failed [TypeError: Path must be a string. Received\n> undefined] TypeError: Path must be a string. Received undefined\n> at assertPath (path.js:8:11)\n> at Object.posix.join (path.js:479:5)\n> at findSuitableTempDirectory\n> (/media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/phantomjs-prebuilt/2.1.7/phantomjs-prebuilt/install.js:127:30)\n> at\n> /media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/phantomjs-prebuilt/2.1.7/phantomjs-prebuilt/install.js:476:19\n> at nextTickCallback\n> (/media/psf/mistkafka/Code/node.js/habitrpg/node_modules/.npminstall/kew/0.7.0/kew/kew.js:47:28)\n> at nextTickCallbackWith0Args (node.js:420:9)\n> at process._tickCallback (node.js:349:13)\n> Error: post install error, please remove node_modules before retry!\n> Run \"sh -c node install.js\" error, exit code 1\n> Error: post install error, please remove node_modules before retry!\n> Run \"sh -c node install.js\" error, exit code 1\n> at ChildProcess.\n> (/root/.nvm/versions/node/v4.4.5/lib/node_modules/cnpm/node_modules/npminstall/node_modules/runscript/index.js:67:21)\n> at emitTwo (events.js:87:13)\n> at ChildProcess.emit (events.js:172:7)\n> at maybeClose (internal/child_process.js:827:16)\n> at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/HabitRPG/habitrpg/issues/7666>, or mute the thread\n> <https://github.com/notifications/unsubscribe/ABbTAaqPSY_fb4UUmGh0WvxUNj1fv6YBks5qMCBsgaJpZM4I2gzu>\n> .\n>\n"}}
{"actor":{"display_login":"Alys"}}