{"action":"created","issue":{"url":"https://api.github.com/repos/fixate/generator-fixate-pw/issues/14","labels_url":"https://api.github.com/repos/fixate/generator-fixate-pw/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/fixate/generator-fixate-pw/issues/14/comments","events_url":"https://api.github.com/repos/fixate/generator-fixate-pw/issues/14/events","html_url":"https://github.com/fixate/generator-fixate-pw/issues/14","id":66843179,"number":14,"title":"Cannot find module 'shelljs' on Windows 8.1","user":{"login":"jmartsch","id":551551,"avatar_url":"https://avatars.githubusercontent.com/u/551551?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartsch","html_url":"https://github.com/jmartsch","followers_url":"https://api.github.com/users/jmartsch/followers","following_url":"https://api.github.com/users/jmartsch/following{/other_user}","gists_url":"https://api.github.com/users/jmartsch/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartsch/subscriptions","organizations_url":"https://api.github.com/users/jmartsch/orgs","repos_url":"https://api.github.com/users/jmartsch/repos","events_url":"https://api.github.com/users/jmartsch/events{/privacy}","received_events_url":"https://api.github.com/users/jmartsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-04-07T09:57:47Z","updated_at":"2015-04-09T07:31:10Z","closed_at":null,"body":"Hi. I cloned the git repo and changed into the directory and linked as described.\r\nAfter that I created a new folder and ran ```yo fixate-pw``` and I get an error \"Error: Cannot find module 'shelljs'\". So I ran  ```npm install -g shelljs```  but after running ```yo fixate-pw``` again I still get the same error message. Any ideas how to solve this?\r\n\r\n```javascript\r\nError: Cannot find module 'shelljs'\r\n  at Function.Module._resolveFilename (module.js:338:15)\r\n  at Function.Module._load (module.js:280:25)\r\n  at Module.require (module.js:364:17)\r\n  at require (module.js:380:17)\r\n  at Object.<anonymous> (W:\\wamp\\www\\generator-fixate-pw\\app\\lib\\git-utils.coffee:3:9)\r\n  at Object.<anonymous> (W:\\wamp\\www\\generator-fixate-pw\\app\\lib\\git-utils.coffee:1:1)\r\n  at Module._compile (module.js:456:26)\r\n  at Object.loadFile (W:\\wamp\\www\\generator-fixate-pw\\node_modules\\coffee-script\\lib\\coffee-script\\register.js:16:19)\r\n  at Module.load (W:\\wamp\\www\\generator-fixate-pw\\node_modules\\coffee-script\\lib\\coffee-script\\register.js:45:36)\r\n  at Function.Module._load (module.js:312:12)\r\n  at Module.require (module.js:364:17)\r\n  at require (module.js:380:17)\r\n  at Object.<anonymous> (W:\\wamp\\www\\generator-fixate-pw\\app\\generator.coffee:1:12)\r\n  at Object.<anonymous> (W:\\wamp\\www\\generator-fixate-pw\\app\\generator.coffee:1:1)\r\n  at Module._compile (module.js:456:26)\r\n  at Object.loadFile (W:\\wamp\\www\\generator-fixate-pw\\node_modules\\coffee-script\\lib\\coffee-script\\register.js:16:19)\r\n  at Module.load (W:\\wamp\\www\\generator-fixate-pw\\node_modules\\coffee-script\\lib\\coffee-script\\register.js:45:36)\r\n  at Function.Module._load (module.js:312:12)\r\n  at Module.require (module.js:364:17)\r\n  at require (module.js:380:17)\r\n  at Object.<anonymous> (W:\\wamp\\www\\generator-fixate-pw\\app\\index.js:3:18)\r\n  at Module._compile (module.js:456:26)\r\n  at Object.Module._extensions..js (module.js:474:10)\r\n  at Module.load (module.js:356:32)\r\n  at Function.Module._load (module.js:312:12)\r\n  at Module.require (module.js:364:17)\r\n  at require (module.js:380:17)\r\n  at Object._storeAsPath.Object.defineProperty.get [as fixate-pw:app] (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\node_modules\\yeoman-environment\\lib\\store.js:40:23)\r\n  at Store.get (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\node_modules\\yeoman-environment\\lib\\store.js:64:35)\r\n  at Environment.get (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\node_modules\\yeoman-environment\\lib\\environment.js:228:16)\r\n  at Environment.create (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\node_modules\\yeoman-environment\\lib\\environment.js:246:24)\r\n  at Environment.run (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\node_modules\\yeoman-environment\\lib\\environment.js:318:24)\r\n  at C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\lib\\cli.js:86:9\r\n  at Environment.resolver.lookup (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\node_modules\\yeoman-environment\\lib\\resolver.js:50:12)\r\n  at init (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\lib\\cli.js:61:7)\r\n  at pre (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\lib\\cli.js:48:3)\r\n  at Object.<anonymous> (C:\\Users\\Aceman\\AppData\\Roaming\\npm\\node_modules\\yo\\lib\\cli.js:150:1)\r\n  at Module._compile (module.js:456:26)\r\n  at Object.Module._extensions..js (module.js:474:10)\r\n  at Module.load (module.js:356:32)\r\n  at Function.Module._load (module.js:312:12)\r\n  at Function.Module.runMain (module.js:497:10)\r\n  at startup (node.js:119:16)\r\n  at node.js:901:3\r\n```"},"comment":{"url":"https://api.github.com/repos/fixate/generator-fixate-pw/issues/comments/91137132","html_url":"https://github.com/fixate/generator-fixate-pw/issues/14#issuecomment-91137132","issue_url":"https://api.github.com/repos/fixate/generator-fixate-pw/issues/14","id":91137132,"user":{"login":"larrybotha","id":1510520,"avatar_url":"https://avatars.githubusercontent.com/u/1510520?v=3","gravatar_id":"","url":"https://api.github.com/users/larrybotha","html_url":"https://github.com/larrybotha","followers_url":"https://api.github.com/users/larrybotha/followers","following_url":"https://api.github.com/users/larrybotha/following{/other_user}","gists_url":"https://api.github.com/users/larrybotha/gists{/gist_id}","starred_url":"https://api.github.com/users/larrybotha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larrybotha/subscriptions","organizations_url":"https://api.github.com/users/larrybotha/orgs","repos_url":"https://api.github.com/users/larrybotha/repos","events_url":"https://api.github.com/users/larrybotha/events{/privacy}","received_events_url":"https://api.github.com/users/larrybotha/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T07:31:10Z","updated_at":"2015-04-09T07:31:10Z","body":"we do that so that when starting multiple PW projects in succession we don't download the full 12-13mb of the repo every time.\r\n\r\nInstead we have a local cache of the live repo, which always has `git pull` executed on the specified branch for the repo. Much more efficient, especially for testing :)\r\n\r\nWhat may be an option, if tar / zip is still giving you problems, is to copy the contents of the PW repo into your `src/` directlory.\r\n\r\nSomething like\r\n```coffee\r\n# git-utils.coffee\r\n\r\nshell = require 'shelljs'\r\n. \r\n.\r\n.\r\n\r\n(ln:29) shell.cp \"-R\", \"./*\", \"#{dest_root}/*\"\r\n```\r\n\r\nLet me know if you get that working - we may update the generator to rather work like this."}}