{"action":"created","issue":{"url":"https://api.github.com/repos/Pinpickle/tight/issues/18","labels_url":"https://api.github.com/repos/Pinpickle/tight/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Pinpickle/tight/issues/18/comments","events_url":"https://api.github.com/repos/Pinpickle/tight/issues/18/events","html_url":"https://github.com/Pinpickle/tight/issues/18","id":105092761,"number":18,"title":"Browserify not automatically installed","user":{"login":"mdcanham","id":8162764,"avatar_url":"https://avatars.githubusercontent.com/u/8162764?v=3","gravatar_id":"","url":"https://api.github.com/users/mdcanham","html_url":"https://github.com/mdcanham","followers_url":"https://api.github.com/users/mdcanham/followers","following_url":"https://api.github.com/users/mdcanham/following{/other_user}","gists_url":"https://api.github.com/users/mdcanham/gists{/gist_id}","starred_url":"https://api.github.com/users/mdcanham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdcanham/subscriptions","organizations_url":"https://api.github.com/users/mdcanham/orgs","repos_url":"https://api.github.com/users/mdcanham/repos","events_url":"https://api.github.com/users/mdcanham/events{/privacy}","received_events_url":"https://api.github.com/users/mdcanham/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-06T12:48:12Z","updated_at":"2015-09-07T03:19:15Z","closed_at":"2015-09-07T03:16:46Z","body":"Got the following error during install. Browserify is installed globally, manually installing Browserify, after Yeoman had done its thing, fixed the issue.\r\n```\r\nBuilding your theme\r\nmodule.js:338\r\n    throw err;\r\n    ^\r\nError: Cannot find module 'browserify'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/Users/matthewcanham/Documents/Development/Websites/theme/gulp.js:20:18)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n```"},"comment":{"url":"https://api.github.com/repos/Pinpickle/tight/issues/comments/138168935","html_url":"https://github.com/Pinpickle/tight/issues/18#issuecomment-138168935","issue_url":"https://api.github.com/repos/Pinpickle/tight/issues/18","id":138168935,"user":{"login":"Pinpickle","id":3238878,"avatar_url":"https://avatars.githubusercontent.com/u/3238878?v=3","gravatar_id":"","url":"https://api.github.com/users/Pinpickle","html_url":"https://github.com/Pinpickle","followers_url":"https://api.github.com/users/Pinpickle/followers","following_url":"https://api.github.com/users/Pinpickle/following{/other_user}","gists_url":"https://api.github.com/users/Pinpickle/gists{/gist_id}","starred_url":"https://api.github.com/users/Pinpickle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pinpickle/subscriptions","organizations_url":"https://api.github.com/users/Pinpickle/orgs","repos_url":"https://api.github.com/users/Pinpickle/repos","events_url":"https://api.github.com/users/Pinpickle/events{/privacy}","received_events_url":"https://api.github.com/users/Pinpickle/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T03:19:15Z","updated_at":"2015-09-07T03:19:15Z","body":"This isn't a fault of Browserify not being installed, but incorrectly required. It was outside of the `{% if theme.js == 'browserify %}` block. That's fixed now.\r\n\r\nThis is difficult to add tests for, as dependencies aren't deleted between test cases (faster tests). I think a good solution would be to delete dependencies that aren't in the current project."}}