So, I was halfway through setting up a new node module, when I decided there had to be a better way, and stumbled across your (amazing) generator. Concretely, I had run npm init, git init, and had added a .gitignore with node_modules as the only contents. When I ran the generator, I got the following error
events.js:154
throw er; // Unhandled 'error' event
^
TypeError: this.pkg.repository.indexOf is not a function
at module.exports.generators.Base.extend.end (/usr/local/lib/node_modules/generator-node/generators/git/index.js:73:31)
at Object.<anonymous> (/usr/local/lib/node_modules/generator-node/node_modules/yeoman-generator/lib/base.js:436:25)
at /usr/local/lib/node_modules/generator-node/node_modules/run-async/index.js:24:25
at /usr/local/lib/node_modules/generator-node/node_modules/yeoman-generator/lib/base.js:448:8
at processImmediate [as _immediateCallback] (timers.js:383:17)
It doesn't seem to have adversely affected what was generated, afaict
dougwade ~/name-suffixes ‹master*› » ls -a
. .. .babelrc .editorconfig .git .gitattributes .gitignore .travis.yml README.md dist gulpfile.js lib node_modules package.json test
Yeah, that's probably because you didn't provide a repository in the prompts. This have been fixed on the latest master, we just haven't released it yet. I'll do this later tonight.
So, I was halfway through setting up a new node module, when I decided there had to be a better way, and stumbled across your (amazing) generator. Concretely, I had run
npm init
,git init
, and had added a .gitignore with node_modules as the only contents. When I ran the generator, I got the following errorIt doesn't seem to have adversely affected what was generated, afaict
Here's the full log