{"action":"created","issue":{"url":"https://api.github.com/repos/rayokota/generator-angular-express-sequelize/issues/8","labels_url":"https://api.github.com/repos/rayokota/generator-angular-express-sequelize/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/rayokota/generator-angular-express-sequelize/issues/8/comments","events_url":"https://api.github.com/repos/rayokota/generator-angular-express-sequelize/issues/8/events","html_url":"https://github.com/rayokota/generator-angular-express-sequelize/issues/8","id":71132475,"number":8,"title":"TypeError: Cannot read property 'baseName' of undefined","user":{"login":"noahsw","id":2034879,"avatar_url":"https://avatars.githubusercontent.com/u/2034879?v=3","gravatar_id":"","url":"https://api.github.com/users/noahsw","html_url":"https://github.com/noahsw","followers_url":"https://api.github.com/users/noahsw/followers","following_url":"https://api.github.com/users/noahsw/following{/other_user}","gists_url":"https://api.github.com/users/noahsw/gists{/gist_id}","starred_url":"https://api.github.com/users/noahsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahsw/subscriptions","organizations_url":"https://api.github.com/users/noahsw/orgs","repos_url":"https://api.github.com/users/noahsw/repos","events_url":"https://api.github.com/users/noahsw/events{/privacy}","received_events_url":"https://api.github.com/users/noahsw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-26T23:03:14Z","updated_at":"2015-04-26T23:08:29Z","closed_at":null,"body":"\r\n\r\n````\r\n$ npm install -g generator-angular-express-sequelize\r\nnpm WARN peerDependencies The peer dependency yo@>=1.0.0 included from generator-angular-express-sequelize will no\r\nnpm WARN peerDependencies longer be automatically installed to fulfill the peerDependency\r\nnpm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.\r\ngenerator-angular-express-sequelize@0.1.12 /usr/local/lib/node_modules/generator-angular-express-sequelize\r\n├── pluralize@0.0.12\r\n├── URIjs@1.11.2\r\n├── underscore.string@2.3.3\r\n├── lodash@2.4.2\r\n├── asciify@1.3.5 (pad@0.0.4, chalk@0.3.0, optimist@0.6.1)\r\n└── yeoman-generator@0.14.2 (dargs@0.1.0, debug@0.7.4, diff@1.0.8, rimraf@2.2.8, text-table@0.2.0, mime@1.2.11, mkdirp@0.3.5, async@0.2.10, isbinaryfile@0.1.9, shelljs@0.2.6, chalk@0.3.0, iconv-lite@0.2.11, lodash@2.2.1, findup-sync@0.1.3, file-utils@0.1.5, glob@3.2.11, request@2.27.0, cheerio@0.12.4, inquirer@0.3.5, download@0.1.19)\r\n\r\n\r\n$ yo angular-express-sequelize:entity user\r\nYou called the entity subgenerator with the argument user.\r\n\r\nPlease specify an attribute:\r\n[?] What is the name of the attribute? (myattr) Error: Error: ENOENT, open 'generator.json'\r\n[?] What is the name of the attribute? id\r\n[?] What is the type of the attribute? Integer\r\n[?] Enter the minimum value for the numeric attribute, or hit enter:\r\n[?] Enter the maximum value for the numeric attribute, or hit enter:\r\n[?] Is the attribute required to have a value? Yes\r\n[?] Would you like to enter another attribute or reenter a previous attribute? Yes\r\n\r\nPlease specify an attribute:\r\n[?] What is the name of the attribute? username\r\n[?] What is the type of the attribute? String\r\n[?] Enter the minimum length for the String attribute, or hit enter:\r\n[?] Enter the maximum length for the String attribute, or hit enter:\r\n[?] Is the attribute required to have a value? Yes\r\n[?] Would you like to enter another attribute or reenter a previous attribute? Yes\r\n\r\nPlease specify an attribute:\r\n[?] What is the name of the attribute? password\r\n[?] What is the type of the attribute? String\r\n[?] Enter the minimum length for the String attribute, or hit enter:\r\n[?] Enter the maximum length for the String attribute, or hit enter:\r\n[?] Is the attribute required to have a value? Yes\r\n[?] Would you like to enter another attribute or reenter a previous attribute? No\r\n/usr/local/lib/node_modules/generator-angular-express-sequelize/entity/index.js:151\r\n  this.baseName = this.generatorConfig.baseName;\r\n                                      ^\r\nTypeError: Cannot read property 'baseName' of undefined\r\n    at EntityGenerator.files (/usr/local/lib/node_modules/generator-angular-express-sequelize/entity/index.js:151:39)\r\n    at /usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/lib/base.js:316:43\r\n    at /usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/node_modules/async/lib/async.js:551:21\r\n    at /usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/node_modules/async/lib/async.js:227:13\r\n    at iterate (/usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/node_modules/async/lib/async.js:134:13)\r\n    at /usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/node_modules/async/lib/async.js:145:25\r\n    at /usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/node_modules/async/lib/async.js:229:17\r\n    at /usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/node_modules/async/lib/async.js:556:34\r\n    at /usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/lib/base.js:302:11\r\n    at EventEmitter.<anonymous> (/usr/local/lib/node_modules/generator-angular-express-sequelize/node_modules/yeoman-generator/lib/util/conflicter.js:73:5)\r\n````"},"comment":{"url":"https://api.github.com/repos/rayokota/generator-angular-express-sequelize/issues/comments/96446918","html_url":"https://github.com/rayokota/generator-angular-express-sequelize/issues/8#issuecomment-96446918","issue_url":"https://api.github.com/repos/rayokota/generator-angular-express-sequelize/issues/8","id":96446918,"user":{"login":"rayokota","id":1761488,"avatar_url":"https://avatars.githubusercontent.com/u/1761488?v=3","gravatar_id":"","url":"https://api.github.com/users/rayokota","html_url":"https://github.com/rayokota","followers_url":"https://api.github.com/users/rayokota/followers","following_url":"https://api.github.com/users/rayokota/following{/other_user}","gists_url":"https://api.github.com/users/rayokota/gists{/gist_id}","starred_url":"https://api.github.com/users/rayokota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayokota/subscriptions","organizations_url":"https://api.github.com/users/rayokota/orgs","repos_url":"https://api.github.com/users/rayokota/repos","events_url":"https://api.github.com/users/rayokota/events{/privacy}","received_events_url":"https://api.github.com/users/rayokota/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T23:08:29Z","updated_at":"2015-04-26T23:08:29Z","body":"As mentioned in the README, you need to run 'yo angular-express-sequelize' first."}}