{"action":"created","issue":{"url":"https://api.github.com/repos/danbroooks/gulp-phantomcss/issues/13","labels_url":"https://api.github.com/repos/danbroooks/gulp-phantomcss/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/danbroooks/gulp-phantomcss/issues/13/comments","events_url":"https://api.github.com/repos/danbroooks/gulp-phantomcss/issues/13/events","html_url":"https://github.com/danbroooks/gulp-phantomcss/issues/13","id":120635050,"number":13,"title":"After upgrading to 0.1.1, seeing unhandled PhantomJS error when running task","user":{"login":"1Copenut","id":934879,"avatar_url":"https://avatars.githubusercontent.com/u/934879?v=3","gravatar_id":"","url":"https://api.github.com/users/1Copenut","html_url":"https://github.com/1Copenut","followers_url":"https://api.github.com/users/1Copenut/followers","following_url":"https://api.github.com/users/1Copenut/following{/other_user}","gists_url":"https://api.github.com/users/1Copenut/gists{/gist_id}","starred_url":"https://api.github.com/users/1Copenut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1Copenut/subscriptions","organizations_url":"https://api.github.com/users/1Copenut/orgs","repos_url":"https://api.github.com/users/1Copenut/repos","events_url":"https://api.github.com/users/1Copenut/events{/privacy}","received_events_url":"https://api.github.com/users/1Copenut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T13:35:26Z","updated_at":"2015-12-17T15:12:52Z","closed_at":null,"body":"I upgraded to Node 5.1.1 from 0.12 and upgraded all NPM modules. I jumped gulp-phantomCSS up to 0.1.1, but the next time I tried to run the task, it threw this error:\r\n\r\n```\r\n/* Gulp Task */\r\nStarting 'jsTest:regression'...\r\nevents.js:141\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\nError: spawn /Users/<username>/Documents/Development/C3/node_modules/gulp-phantomcss/node_modules/.bin/phantomjs ENOENT\r\n    at exports._errnoException (util.js:856:11)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)\r\n    at onErrorNT (internal/child_process.js:344:16)\r\n    at doNTCallback2 (node.js:452:9)\r\n    at process._tickCallback (node.js:366:17)\r\n```\r\n\r\nThe error reads like it's coming from PhantomJS; I'll repost on the phantomCSS issue tracker if that'd be more appropriate.\r\n\r\nThank you.\r\n"},"comment":{"url":"https://api.github.com/repos/danbroooks/gulp-phantomcss/issues/comments/165479764","html_url":"https://github.com/danbroooks/gulp-phantomcss/issues/13#issuecomment-165479764","issue_url":"https://api.github.com/repos/danbroooks/gulp-phantomcss/issues/13","id":165479764,"user":{"login":"gurtfrobe","id":771366,"avatar_url":"https://avatars.githubusercontent.com/u/771366?v=3","gravatar_id":"","url":"https://api.github.com/users/gurtfrobe","html_url":"https://github.com/gurtfrobe","followers_url":"https://api.github.com/users/gurtfrobe/followers","following_url":"https://api.github.com/users/gurtfrobe/following{/other_user}","gists_url":"https://api.github.com/users/gurtfrobe/gists{/gist_id}","starred_url":"https://api.github.com/users/gurtfrobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurtfrobe/subscriptions","organizations_url":"https://api.github.com/users/gurtfrobe/orgs","repos_url":"https://api.github.com/users/gurtfrobe/repos","events_url":"https://api.github.com/users/gurtfrobe/events{/privacy}","received_events_url":"https://api.github.com/users/gurtfrobe/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T15:12:52Z","updated_at":"2015-12-17T15:12:52Z","body":"Bump - I'm getting the same error.\r\n\r\n```\r\n[15:09:06] Using gulpfile ~/Sites/drupal7/docroot/sites/all/themes/themename/gulpfile.js\r\n[15:09:06] Starting 'phantomcss'...\r\n[15:09:06] Finished 'phantomcss' after 9.33 ms\r\nevents.js:142\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\n\r\nError: spawn /Users/user/Sites/drupal7/docroot/sites/all/themes/themename/node_modules/gulp-phantomcss/node_modules/.bin/phantomjs ENOENT\r\n    at exports._errnoException (util.js:856:11)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:179:32)\r\n    at onErrorNT (internal/child_process.js:345:16)\r\n    at nextTickCallbackWith2Args (node.js:455:9)\r\n    at process._tickCallback (node.js:369:17)\r\n\r\n```"}}