{"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":24,"created_at":"2016-04-15T11:29:26Z","updated_at":"2016-05-02T22:15:20Z","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/216381661","html_url":"https://github.com/HabitRPG/habitrpg/issues/7082#issuecomment-216381661","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7082","id":216381661,"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},"created_at":"2016-05-02T22:15:20Z","updated_at":"2016-05-02T22:15:20Z","body":"Yep, I can confirm the non-ascii characters. Just renders as lots of `^@^@^@^@^@^@^@` etc. when looking at it with less."}}