{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7082","repository_url":"https://api.github.com/repos/HabitRPG/habitrpg","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7082/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7082/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7082/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/7082","id":148635075,"number":7082,"title":"Unable to install phantomjs-prebuilt on fresh Vagrant install","user":{"login":"nasfarley88","id":1312119,"avatar_url":"https://avatars.githubusercontent.com/u/1312119?v=3","gravatar_id":"","url":"https://api.github.com/users/nasfarley88","html_url":"https://github.com/nasfarley88","followers_url":"https://api.github.com/users/nasfarley88/followers","following_url":"https://api.github.com/users/nasfarley88/following{/other_user}","gists_url":"https://api.github.com/users/nasfarley88/gists{/gist_id}","starred_url":"https://api.github.com/users/nasfarley88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasfarley88/subscriptions","organizations_url":"https://api.github.com/users/nasfarley88/orgs","repos_url":"https://api.github.com/users/nasfarley88/repos","events_url":"https://api.github.com/users/nasfarley88/events{/privacy}","received_events_url":"https://api.github.com/users/nasfarley88/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/local%20install","name":"local install","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-15T11:29:26Z","updated_at":"2016-04-19T12:42:18Z","closed_at":null,"body":"I'm not a nodejs developer (yet!) so apologies if this is the wrong place for this bug report.\r\n\r\nI've done a fresh install of a machine with vagrant for the 'api-v3' branch of Habitica but when I do `npm install` it cannot install the `phantomjs-prebuilt` package. Is there a way around this?\r\n\r\nLog:\r\n```\r\nnpm WARN optional Skipping failed optional dependency /chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.11\r\nnpm ERR! Linux 3.2.0-23-generic\r\nnpm ERR! argv \"/home/vagrant/.nvm/versions/node/v4.3.1/bin/node\" \"/home/vagrant/.nvm/versions/node/v4.3.1/bin/npm\" \"install\"\r\nnpm ERR! node v4.3.1\r\nnpm ERR! npm  v3.8.6\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! phantomjs-prebuilt@2.1.7 install: `node install.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the phantomjs-prebuilt@2.1.7 install script 'node install.js'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node install.js\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs phantomjs-prebuilt\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls phantomjs-prebuilt\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!     /vagrant/npm-debug.log\r\nvagrant@habitrpg:/vagrant$ npm install phantomjs-prebuilt\r\n\r\n> phantomjs-prebuilt@2.1.7 install /vagrant/node_modules/phantomjs-prebuilt\r\n> node install.js\r\n\r\n/vagrant/node_modules/fd-slicer/index.js:145\r\n  this.pos = this\r\n                 \r\n\r\nSyntaxError: Unexpected token ILLEGAL\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:373:25)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/vagrant/node_modules/yauzl/index.js:3:17)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/211904817","html_url":"https://github.com/HabitRPG/habitrpg/issues/7082#issuecomment-211904817","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7082","id":211904817,"user":{"login":"crookedneighbor","id":2916945,"avatar_url":"https://avatars.githubusercontent.com/u/2916945?v=3","gravatar_id":"","url":"https://api.github.com/users/crookedneighbor","html_url":"https://github.com/crookedneighbor","followers_url":"https://api.github.com/users/crookedneighbor/followers","following_url":"https://api.github.com/users/crookedneighbor/following{/other_user}","gists_url":"https://api.github.com/users/crookedneighbor/gists{/gist_id}","starred_url":"https://api.github.com/users/crookedneighbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crookedneighbor/subscriptions","organizations_url":"https://api.github.com/users/crookedneighbor/orgs","repos_url":"https://api.github.com/users/crookedneighbor/repos","events_url":"https://api.github.com/users/crookedneighbor/events{/privacy}","received_events_url":"https://api.github.com/users/crookedneighbor/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T12:42:18Z","updated_at":"2016-04-19T12:42:18Z","body":"If I recall, there was some weird caveat with some versions of Virtualbox that didn't play nice with npm 2. However, the project isn't set up to use npm 3 yet. I've been working on it, but the process has been slow going. \r\n\r\nI say, for now, change it back to npm 2, but I'm hoping to get the project working with npm 3 (what the api-v3 branch is using) soon."}}