{"action":"created","issue":{"url":"https://api.github.com/repos/generate/generate-gitignore/issues/4","repository_url":"https://api.github.com/repos/generate/generate-gitignore","labels_url":"https://api.github.com/repos/generate/generate-gitignore/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/generate/generate-gitignore/issues/4/comments","events_url":"https://api.github.com/repos/generate/generate-gitignore/issues/4/events","html_url":"https://github.com/generate/generate-gitignore/issues/4","id":205118581,"number":4,"title":"TypeError: Cannot read property 'replace' of undefined","user":{"login":"onokumus","id":742498,"avatar_url":"https://avatars.githubusercontent.com/u/742498?v=3","gravatar_id":"","url":"https://api.github.com/users/onokumus","html_url":"https://github.com/onokumus","followers_url":"https://api.github.com/users/onokumus/followers","following_url":"https://api.github.com/users/onokumus/following{/other_user}","gists_url":"https://api.github.com/users/onokumus/gists{/gist_id}","starred_url":"https://api.github.com/users/onokumus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onokumus/subscriptions","organizations_url":"https://api.github.com/users/onokumus/orgs","repos_url":"https://api.github.com/users/onokumus/repos","events_url":"https://api.github.com/users/onokumus/events{/privacy}","received_events_url":"https://api.github.com/users/onokumus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-03T10:16:08Z","updated_at":"2017-02-03T17:18:56Z","closed_at":null,"body":"```sh\r\n$ gen gitignore\r\n[13:13:42] starting generate\r\n[13:13:42] ✔ running tasks: [ 'gitignore' ]\r\n/home/archie/.node_modules/lib/node_modules/generate/lib/defaults.js:21\r\n    return key.replace(app.get('aliasRegex'), '');\r\n              ^\r\n\r\nTypeError: Cannot read property 'replace' of undefined\r\n ```\r\n\r\nnode : v7.5.0\r\nnpm : v4.1.2\r\nos : Linux 4.9.6-1"},"comment":{"url":"https://api.github.com/repos/generate/generate-gitignore/issues/comments/277307036","html_url":"https://github.com/generate/generate-gitignore/issues/4#issuecomment-277307036","issue_url":"https://api.github.com/repos/generate/generate-gitignore/issues/4","id":277307036,"user":{"login":"onokumus","id":742498,"avatar_url":"https://avatars.githubusercontent.com/u/742498?v=3","gravatar_id":"","url":"https://api.github.com/users/onokumus","html_url":"https://github.com/onokumus","followers_url":"https://api.github.com/users/onokumus/followers","following_url":"https://api.github.com/users/onokumus/following{/other_user}","gists_url":"https://api.github.com/users/onokumus/gists{/gist_id}","starred_url":"https://api.github.com/users/onokumus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onokumus/subscriptions","organizations_url":"https://api.github.com/users/onokumus/orgs","repos_url":"https://api.github.com/users/onokumus/repos","events_url":"https://api.github.com/users/onokumus/events{/privacy}","received_events_url":"https://api.github.com/users/onokumus/received_events","type":"User","site_admin":false},"created_at":"2017-02-03T17:18:56Z","updated_at":"2017-02-03T17:18:56Z","body":"@doowb \r\nI installed it globally with the command \r\n```sh\r\nnpm install --global generate generate-project\r\n```\r\nThen I give the \r\n```sh\r\ngen project\r\n```\r\n command in an empty project-folder. It gives the error above. I searched one by one to see which modules did not work. I saw the `generate-gitignore` module not working. The others are working. For example, `generate-readme`. But the `generate-gitignore` module does not work.\r\n\r\nIn addition, the output of the command \r\n```sh\r\ngen gitignore -v\r\n```\r\nis the same as the error above."}}
{"actor":{"display_login":"onokumus"}}