{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma-phantomjs-launcher/issues/62","labels_url":"https://api.github.com/repos/karma-runner/karma-phantomjs-launcher/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma-phantomjs-launcher/issues/62/comments","events_url":"https://api.github.com/repos/karma-runner/karma-phantomjs-launcher/issues/62/events","html_url":"https://github.com/karma-runner/karma-phantomjs-launcher/issues/62","id":60692762,"number":62,"title":"install error","user":{"login":"nakie","id":1271399,"avatar_url":"https://avatars.githubusercontent.com/u/1271399?v=3","gravatar_id":"","url":"https://api.github.com/users/nakie","html_url":"https://github.com/nakie","followers_url":"https://api.github.com/users/nakie/followers","following_url":"https://api.github.com/users/nakie/following{/other_user}","gists_url":"https://api.github.com/users/nakie/gists{/gist_id}","starred_url":"https://api.github.com/users/nakie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nakie/subscriptions","organizations_url":"https://api.github.com/users/nakie/orgs","repos_url":"https://api.github.com/users/nakie/repos","events_url":"https://api.github.com/users/nakie/events{/privacy}","received_events_url":"https://api.github.com/users/nakie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karma-runner/karma-phantomjs-launcher/labels/needs:%20feedback-from-author","name":"needs: feedback-from-author","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-11T17:07:32Z","updated_at":"2015-05-18T21:24:32Z","closed_at":null,"body":"I'm trying to setup an angular dev environment using angular-seed inside a vagrant box ( running Ubuntu 12.02 32 Bit / precise32 ) on Windows 7.   When I download the angular-seed project and run `npm install --no-bin-links` I get an error related to phantomJS,  Reading through the error shows phantomJS install had an issue with karma-phantomjs-launcher directories not being present.    It appears to be happening during the karma-phantomjs-launcher  install, so I thought i would start here.\r\n\r\nHere is the result of running the install on its own outside of angular-seeds npm install script.\r\n\r\n    vagrant@precise32:/vagrant$ npm install karma-phantomjs-launcher --no-bin-links\r\n    npm WARN package.json karma-chrome-launcher@0.1.7 No README data\r\n    npm WARN package.json karma-firefox-launcher@0.1.4 No README data\r\n    Phantom installation failed { [Error: ENOTDIR, not a directory '/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs']\r\n      errno: 27,\r\n      code: 'ENOTDIR',\r\n      path: '/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs',\r\n      syscall: 'chmod' } Error: ENOTDIR, not a directory '/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs'\r\n        at Object.fs.chmodSync (evalmachine.<anonymous>:833:18)\r\n        at Object.chmodSync (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/graceful-fs/polyfills.js:141:17)\r\n        at Promise.validExit [as _successFn] (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/install.js:145:8)\r\n        at Promise._call (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/kew.js:373:13)\r\n        at Promise._withInput (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/kew.js:333:25)\r\n        at Promise.resolve (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/kew.js:105:27)\r\n        at resolver (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/kew/kew.js:409:17)\r\n        at next (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/rimraf.js:70:7)\r\n        at CB (/vagrant/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/rimraf.js:106:9)\r\n        at Object.oncomplete (fs.js:108:15)\r\n\r\n    npm ERR! phantomjs@1.9.16 install: `node install.js`\r\n    npm ERR! Exit status 1\r\n    npm ERR!\r\n    npm ERR! Failed at the phantomjs@1.9.16 install script.\r\n    npm ERR! This is most likely a problem with the phantomjs package,\r\n    npm ERR! not with npm itself.\r\n    npm ERR! Tell the author that this fails on your system:\r\n    npm ERR!     node install.js\r\n    npm ERR! You can get their info via:\r\n    npm ERR!     npm owner ls phantomjs\r\n    npm ERR! There is likely additional logging output above.\r\n    npm ERR! System Linux 3.2.0-23-generic-pae\r\n    npm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\" \"karma-phantomjs-launcher\" \"--no-bin-links\"\r\n    npm ERR! cwd /vagrant\r\n    npm ERR! node -v v0.10.36\r\n    npm ERR! npm -v 1.4.28\r\n    npm ERR! code ELIFECYCLE\r\n    npm ERR! not ok code 0\r\n\r\nThanks\r\n-Nathan"},"comment":{"url":"https://api.github.com/repos/karma-runner/karma-phantomjs-launcher/issues/comments/103216523","html_url":"https://github.com/karma-runner/karma-phantomjs-launcher/issues/62#issuecomment-103216523","issue_url":"https://api.github.com/repos/karma-runner/karma-phantomjs-launcher/issues/62","id":103216523,"user":{"login":"Dignifiedquire","id":790842,"avatar_url":"https://avatars.githubusercontent.com/u/790842?v=3","gravatar_id":"","url":"https://api.github.com/users/Dignifiedquire","html_url":"https://github.com/Dignifiedquire","followers_url":"https://api.github.com/users/Dignifiedquire/followers","following_url":"https://api.github.com/users/Dignifiedquire/following{/other_user}","gists_url":"https://api.github.com/users/Dignifiedquire/gists{/gist_id}","starred_url":"https://api.github.com/users/Dignifiedquire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dignifiedquire/subscriptions","organizations_url":"https://api.github.com/users/Dignifiedquire/orgs","repos_url":"https://api.github.com/users/Dignifiedquire/repos","events_url":"https://api.github.com/users/Dignifiedquire/events{/privacy}","received_events_url":"https://api.github.com/users/Dignifiedquire/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T21:24:32Z","updated_at":"2015-05-18T21:24:32Z","body":"This is probably an issue with npm + vagrant, which there are many of sadly. Please try running the install in a folder that is not mounted like the home directory and upgrade your npm to the latest version via `npm update -g npm`"}}