yeoman / generator-node

Create a Node.js module
http://yeoman.io
MIT License
577 stars 160 forks source link

TypeError: this.pkg.repository.indexOf is not a function #231

Closed doug-wade closed 8 years ago

doug-wade commented 8 years ago

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

Here's the full log

dougwade ~/name-suffixes ‹master*› » yo node
? Author's Homepage dougwade.io
? Use es2015 (precompiled with Babel) Yes
? Send coverage reports to coveralls Yes
? GitHub username or organization doug-wade
 conflict package.json
? Overwrite package.json? overwrite
    force package.json
   create README.md
   create .editorconfig
   create .gitattributes
 conflict .gitignore
? Overwrite .gitignore? overwrite
    force .gitignore
   create .travis.yml
   create gulpfile.js
   create .babelrc
   create lib/index.js
   create test/index.js
npm WARN deprecated lodash.padright@3.1.1: This package has been discontinued in favor of lodash.padend@^4.0.0.
npm WARN deprecated lodash.padleft@3.1.1: This package has been discontinued in favor of lodash.padstart@^4.0.0.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.

> name-suffixes@0.0.1 prepublish /Users/doug.wade/name-suffixes
> gulp prepublish

[21:14:29] Using gulpfile ~/name-suffixes/gulpfile.js
[21:14:29] Starting 'nsp'...
[21:14:29] Starting 'clean'...
[21:14:29] Finished 'clean' after 6.28 ms
[21:14:29] Starting 'babel'...
[21:14:29] Finished 'babel' after 55 ms
[21:14:30] (+) No known vulnerabilities found
[21:14:30] Finished 'nsp' after 1.08 s
[21:14:30] Starting 'prepublish'...
[21:14:30] Finished 'prepublish' after 4.24 μs
name-suffixes@0.0.1 /Users/doug.wade/name-suffixes
├─┬ babel-core@5.8.35
│ ├── babel-plugin-constant-folding@1.0.1
│ ├── babel-plugin-dead-code-elimination@1.0.2
│ ├── babel-plugin-eval@1.0.1
│ ├── babel-plugin-inline-environment-variables@1.0.1
│ ├── babel-plugin-jscript@1.0.4
│ ├── babel-plugin-member-expression-literals@1.0.1
│ ├── babel-plugin-property-literals@1.0.1
│ ├── babel-plugin-proto-to-assign@1.0.4
│ ├── babel-plugin-react-constant-elements@1.0.3
│ ├── babel-plugin-react-display-name@1.0.3
│ ├── babel-plugin-remove-console@1.0.1
│ ├── babel-plugin-remove-debugger@1.0.1
│ ├── babel-plugin-runtime@1.0.7
│ ├─┬ babel-plugin-undeclared-variables-check@1.0.2
│ │ └── leven@1.0.2
│ ├── babel-plugin-undefined-to-void@1.1.6
│ ├── babylon@5.8.35
│ ├── bluebird@2.10.2
│ ├─┬ chalk@1.1.1
│ │ ├─┬ ansi-styles@2.2.0
│ │ │ └── color-convert@1.0.0
│ │ ├── escape-string-regexp@1.0.5
│ │ ├─┬ has-ansi@2.0.0
│ │ │ └── ansi-regex@2.0.0
│ │ ├── strip-ansi@3.0.1
│ │ └── supports-color@2.0.0
│ ├── convert-source-map@1.2.0
│ ├── core-js@1.2.6
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├─┬ detect-indent@3.0.1
│ │ └── get-stdin@4.0.1
│ ├── esutils@2.0.2
│ ├── fs-readdir-recursive@0.1.2
│ ├── globals@6.4.1
│ ├─┬ home-or-tmp@1.0.0
│ │ ├── os-tmpdir@1.0.1
│ │ └── user-home@1.1.1
│ ├─┬ is-integer@1.0.6
│ │ └─┬ is-finite@1.0.1
│ │   └── number-is-nan@1.0.0
│ ├── js-tokens@1.0.1
│ ├── json5@0.4.0
│ ├─┬ line-numbers@0.2.0
│ │ └── left-pad@0.0.3
│ ├── lodash@3.10.1
│ ├─┬ minimatch@2.0.10
│ │ └─┬ brace-expansion@1.1.3
│ │   ├── balanced-match@0.3.0
│ │   └── concat-map@0.0.1
│ ├─┬ output-file-sync@1.1.1
│ │ └── xtend@4.0.1
│ ├── path-exists@1.0.0
│ ├── path-is-absolute@1.0.0
│ ├── private@0.1.6
│ ├─┬ regenerator@0.8.40
│ │ ├─┬ commoner@0.10.4
│ │ │ ├─┬ commander@2.9.0
│ │ │ │ └── graceful-readlink@1.0.1
│ │ │ ├─┬ detective@4.3.1
│ │ │ │ ├── acorn@1.2.2
│ │ │ │ └── defined@1.0.0
│ │ │ ├── graceful-fs@4.1.3
│ │ │ ├── iconv-lite@0.4.13
│ │ │ └── q@1.4.1
│ │ ├─┬ defs@1.1.1
│ │ │ ├─┬ alter@0.2.0
│ │ │ │ └── stable@0.1.5
│ │ │ ├── ast-traverse@0.1.1
│ │ │ ├── breakable@1.0.0
│ │ │ ├── simple-fmt@0.1.0
│ │ │ ├── simple-is@0.2.0
│ │ │ ├── stringmap@0.2.2
│ │ │ ├── stringset@0.2.1
│ │ │ ├── tryor@0.1.2
│ │ │ └─┬ yargs@3.27.0
│ │ │   ├── camelcase@1.2.1
│ │ │   ├─┬ cliui@2.1.0
│ │ │   │ ├─┬ center-align@0.1.3
│ │ │   │ │ ├─┬ align-text@0.1.4
│ │ │   │ │ │ ├─┬ kind-of@3.0.2
│ │ │   │ │ │ │ └── is-buffer@1.1.2
│ │ │   │ │ │ ├── longest@1.0.1
│ │ │   │ │ │ └── repeat-string@1.5.4
│ │ │   │ │ └── lazy-cache@1.0.3
│ │ │   │ └── right-align@0.1.3
│ │ │   ├── decamelize@1.1.2
│ │ │   ├─┬ os-locale@1.4.0
│ │ │   │ └─┬ lcid@1.0.0
│ │ │   │   └── invert-kv@1.0.0
│ │ │   ├── window-size@0.1.4
│ │ │   └── y18n@3.2.0
│ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
│ │ └─┬ recast@0.10.33
│ │   └── ast-types@0.8.12
│ ├─┬ regexpu@1.3.0
│ │ ├── esprima@2.7.2
│ │ ├── regenerate@1.2.1
│ │ ├── regjsgen@0.2.0
│ │ └─┬ regjsparser@0.1.5
│ │   └── jsesc@0.5.0
│ ├── repeating@1.1.3
│ ├── resolve@1.1.7
│ ├── shebang-regex@1.0.0
│ ├── slash@1.0.0
│ ├── source-map@0.5.3
│ ├─┬ source-map-support@0.2.10
│ │ └─┬ source-map@0.1.32
│ │   └── amdefine@1.0.0
│ ├── to-fast-properties@1.0.1
│ ├── trim-right@1.0.1
│ └── try-resolve@1.0.1
├─┬ babel-eslint@4.1.8
│ ├── acorn-to-esprima@1.0.7
│ ├─┬ lodash.assign@3.2.0
│ │ ├─┬ lodash._baseassign@3.2.0
│ │ │ └── lodash._basecopy@3.0.1
│ │ ├─┬ lodash._createassigner@3.1.1
│ │ │ └── lodash._isiterateecall@3.0.9
│ │ └─┬ lodash.keys@3.1.2
│ │   ├── lodash._getnative@3.9.1
│ │   ├── lodash.isarguments@3.0.7
│ │   └── lodash.isarray@3.0.4
│ └─┬ lodash.pick@3.1.0
│   ├── lodash._baseflatten@3.1.4
│   ├── lodash._bindcallback@3.0.1
│   ├── lodash._pickbyarray@3.0.2
│   ├─┬ lodash._pickbycallback@3.0.0
│   │ ├── lodash._basefor@3.0.3
│   │ └── lodash.keysin@3.0.8
│   └── lodash.restparam@3.6.1
├─┬ del@2.2.0
│ ├─┬ globby@4.0.0
│ │ ├── array-union@1.0.1
│ │ ├── arrify@1.0.1
│ │ └─┬ glob@6.0.4
│ │   ├── inflight@1.0.4
│ │   └── inherits@2.0.1
│ ├── is-path-cwd@1.0.0
│ ├─┬ is-path-in-cwd@1.0.0
│ │ └── is-path-inside@1.0.0
│ ├── object-assign@4.0.1
│ ├── pify@2.3.0
│ ├─┬ pinkie-promise@2.0.0
│ │ └── pinkie@2.0.4
│ └─┬ rimraf@2.5.2
│   └── glob@7.0.0
├─┬ eslint-config-xo-space@0.7.0
│ ├─┬ deep-assign@2.0.0
│ │ └── is-obj@1.0.0
│ └── eslint-config-xo@0.8.0
├── eslint-plugin-babel@3.1.0
├─┬ gulp@3.9.1
│ ├── archy@1.0.0
│ ├── deprecated@0.0.1
│ ├─┬ gulp-util@3.0.7
│ │ ├── array-differ@1.0.0
│ │ ├── array-uniq@1.0.2
│ │ ├── beeper@1.1.0
│ │ ├─┬ dateformat@1.0.12
│ │ │ └─┬ meow@3.7.0
│ │ │   ├─┬ camelcase-keys@2.0.0
│ │ │   │ └── camelcase@2.1.0
│ │ │   ├─┬ loud-rejection@1.3.0
│ │ │   │ ├── array-find-index@1.0.1
│ │ │   │ └── signal-exit@2.1.2
│ │ │   ├── map-obj@1.0.1
│ │ │   ├─┬ normalize-package-data@2.3.5
│ │ │   │ ├── hosted-git-info@2.1.4
│ │ │   │ ├─┬ is-builtin-module@1.0.0
│ │ │   │ │ └── builtin-modules@1.1.1
│ │ │   │ └─┬ validate-npm-package-license@3.0.1
│ │ │   │   ├─┬ spdx-correct@1.0.2
│ │ │   │   │ └── spdx-license-ids@1.2.0
│ │ │   │   └─┬ spdx-expression-parse@1.0.2
│ │ │   │     └── spdx-exceptions@1.0.4
│ │ │   ├─┬ read-pkg-up@1.0.1
│ │ │   │ ├─┬ find-up@1.1.0
│ │ │   │ │ └── path-exists@2.1.0
│ │ │   │ └─┬ read-pkg@1.1.0
│ │ │   │   ├─┬ load-json-file@1.1.0
│ │ │   │   │ ├─┬ parse-json@2.2.0
│ │ │   │   │ │ └─┬ error-ex@1.3.0
│ │ │   │   │ │   └── is-arrayish@0.2.1
│ │ │   │   │ └── strip-bom@2.0.0
│ │ │   │   └── path-type@1.1.0
│ │ │   ├─┬ redent@1.0.0
│ │ │   │ ├─┬ indent-string@2.1.0
│ │ │   │ │ └── repeating@2.0.0
│ │ │   │ └── strip-indent@1.0.1
│ │ │   └── trim-newlines@1.0.0
│ │ ├─┬ fancy-log@1.2.0
│ │ │ └── time-stamp@1.0.0
│ │ ├─┬ gulplog@1.0.0
│ │ │ └── glogg@1.0.0
│ │ ├─┬ has-gulplog@0.1.0
│ │ │ └── sparkles@1.0.0
│ │ ├── lodash._reescape@3.0.0
│ │ ├── lodash._reevaluate@3.0.0
│ │ ├── lodash._reinterpolate@3.0.0
│ │ ├─┬ lodash.template@3.6.2
│ │ │ ├── lodash._basetostring@3.0.1
│ │ │ ├── lodash._basevalues@3.0.0
│ │ │ ├── lodash.escape@3.2.0
│ │ │ └── lodash.templatesettings@3.1.1
│ │ ├─┬ multipipe@0.1.2
│ │ │ └── duplexer2@0.0.2
│ │ ├── object-assign@3.0.0
│ │ └─┬ vinyl@0.5.3
│ │   ├── clone@1.0.2
│ │   └── clone-stats@0.0.1
│ ├── interpret@1.0.0
│ ├─┬ liftoff@2.2.0
│ │ ├── extend@2.0.1
│ │ ├── findup-sync@0.3.0
│ │ ├── flagged-respawn@0.3.1
│ │ └── rechoir@0.6.2
│ ├── minimist@1.2.0
│ ├─┬ orchestrator@0.3.7
│ │ ├── end-of-stream@0.1.5
│ │ ├── sequencify@0.0.7
│ │ └── stream-consume@0.1.0
│ ├── pretty-hrtime@1.0.2
│ ├── semver@4.3.6
│ ├─┬ tildify@1.1.2
│ │ └── os-homedir@1.0.1
│ ├── v8flags@2.0.11
│ └─┬ vinyl-fs@0.3.14
│   ├── defaults@1.0.3
│   ├─┬ glob-stream@3.1.18
│   │ ├── glob@4.5.3
│   │ ├─┬ glob2base@0.0.12
│   │ │ └── find-index@0.1.1
│   │ ├── ordered-read-streams@0.1.0
│   │ ├─┬ through2@0.6.5
│   │ │ └── readable-stream@1.0.33
│   │ └── unique-stream@1.0.0
│   ├─┬ glob-watcher@0.0.6
│   │ └─┬ gaze@0.5.2
│   │   └─┬ globule@0.1.0
│   │     ├─┬ glob@3.1.21
│   │     │ ├── graceful-fs@1.2.3
│   │     │ └── inherits@1.0.2
│   │     ├── lodash@1.0.2
│   │     └── minimatch@0.2.14
│   ├── graceful-fs@3.0.8
│   ├─┬ strip-bom@1.0.0
│   │ ├── first-chunk-stream@1.0.0
│   │ └── is-utf8@0.2.1
│   ├─┬ through2@0.6.5
│   │ └── readable-stream@1.0.33
│   └─┬ vinyl@0.4.6
│     └── clone@0.2.0
├─┬ gulp-babel@5.3.0
│ ├── replace-ext@0.0.1
│ ├─┬ through2@2.0.1
│ │ └─┬ readable-stream@2.0.5
│ │   ├── core-util-is@1.0.2
│ │   ├── isarray@0.0.1
│ │   ├── process-nextick-args@1.0.6
│ │   ├── string_decoder@0.10.31
│ │   └── util-deprecate@1.0.2
│ └── vinyl-sourcemaps-apply@0.2.1
├─┬ gulp-coveralls@0.1.4
│ ├─┬ coveralls@2.11.8
│ │ ├─┬ js-yaml@3.0.1
│ │ │ ├─┬ argparse@0.1.16
│ │ │ │ ├── underscore@1.7.0
│ │ │ │ └── underscore.string@2.4.0
│ │ │ └── esprima@1.0.4
│ │ ├── lcov-parse@0.0.6
│ │ ├── log-driver@1.2.4
│ │ └─┬ request@2.67.0
│ │   ├── aws-sign2@0.6.0
│ │   ├─┬ bl@1.0.3
│ │   │ └── readable-stream@2.0.5
│ │   ├── caseless@0.11.0
│ │   ├─┬ combined-stream@1.0.5
│ │   │ └── delayed-stream@1.0.0
│ │   ├── extend@3.0.0
│ │   ├── forever-agent@0.6.1
│ │   ├── form-data@1.0.0-rc3
│ │   ├── har-validator@2.0.6
│ │   ├─┬ hawk@3.1.3
│ │   │ ├── boom@2.10.1
│ │   │ ├── cryptiles@2.0.5
│ │   │ ├── hoek@2.16.3
│ │   │ └── sntp@1.0.9
│ │   ├─┬ http-signature@1.1.1
│ │   │ ├── assert-plus@0.2.0
│ │   │ ├─┬ jsprim@1.2.2
│ │   │ │ ├── extsprintf@1.0.2
│ │   │ │ ├── json-schema@0.2.2
│ │   │ │ └── verror@1.3.6
│ │   │ └─┬ sshpk@1.7.4
│ │   │   ├── asn1@0.2.3
│ │   │   ├─┬ dashdash@1.13.0
│ │   │   │ └── assert-plus@1.0.0
│ │   │   ├── ecc-jsbn@0.1.1
│ │   │   ├── jodid25519@1.0.2
│ │   │   ├── jsbn@0.1.0
│ │   │   └── tweetnacl@0.14.1
│ │   ├── is-typedarray@1.0.0
│ │   ├── isstream@0.1.2
│ │   ├── json-stringify-safe@5.0.1
│ │   ├─┬ mime-types@2.1.10
│ │   │ └── mime-db@1.22.0
│ │   ├── node-uuid@1.4.7
│ │   ├── oauth-sign@0.8.1
│ │   ├── qs@5.2.0
│ │   ├── stringstream@0.0.5
│ │   ├── tough-cookie@2.2.1
│ │   └── tunnel-agent@0.4.2
│ └─┬ through2@1.1.1
│   └── readable-stream@1.1.13
├─┬ gulp-eslint@1.1.1
│ ├─┬ bufferstreams@1.1.0
│ │ └── readable-stream@2.0.5
│ └─┬ eslint@1.10.3
│   ├─┬ concat-stream@1.5.1
│   │ ├── readable-stream@2.0.5
│   │ └── typedarray@0.0.6
│   ├─┬ doctrine@0.7.2
│   │ └── esutils@1.1.6
│   ├─┬ escope@3.5.0
│   │ ├─┬ es6-map@0.1.3
│   │ │ ├── d@0.1.1
│   │ │ ├── es5-ext@0.10.11
│   │ │ ├── es6-iterator@2.0.0
│   │ │ ├── es6-set@0.1.4
│   │ │ ├── es6-symbol@3.0.2
│   │ │ └── event-emitter@0.3.4
│   │ ├── es6-weak-map@2.0.1
│   │ └── esrecurse@4.0.0
│   ├── espree@2.2.5
│   ├── estraverse@4.1.1
│   ├── estraverse-fb@1.3.1
│   ├─┬ file-entry-cache@1.2.4
│   │ └─┬ flat-cache@1.0.10
│   │   ├── read-json-sync@1.1.1
│   │   └── write@0.2.1
│   ├── glob@5.0.15
│   ├── globals@8.18.0
│   ├─┬ handlebars@4.0.5
│   │ ├─┬ optimist@0.6.1
│   │ │ └── minimist@0.0.10
│   │ ├── source-map@0.4.4
│   │ └─┬ uglify-js@2.6.2
│   │   ├── async@0.2.10
│   │   ├── uglify-to-browserify@1.0.2
│   │   └─┬ yargs@3.10.0
│   │     └── window-size@0.1.0
│   ├─┬ inquirer@0.11.4
│   │ ├── ansi-escapes@1.1.1
│   │ ├─┬ cli-cursor@1.0.2
│   │ │ └─┬ restore-cursor@1.0.1
│   │ │   ├── exit-hook@1.1.1
│   │ │   └── onetime@1.1.0
│   │ ├── cli-width@1.1.1
│   │ ├── figures@1.4.0
│   │ ├─┬ readline2@1.0.1
│   │ │ ├── code-point-at@1.0.0
│   │ │ ├── is-fullwidth-code-point@1.0.0
│   │ │ └── mute-stream@0.0.5
│   │ ├── run-async@0.1.0
│   │ ├── rx-lite@3.1.2
│   │ └── string-width@1.0.1
│   ├─┬ is-my-json-valid@2.13.1
│   │ ├── generate-function@2.0.0
│   │ ├─┬ generate-object-property@1.2.0
│   │ │ └── is-property@1.0.2
│   │ └── jsonpointer@2.0.0
│   ├─┬ is-resolvable@1.0.0
│   │ └── tryit@1.0.2
│   ├─┬ js-yaml@3.4.5
│   │ ├─┬ argparse@1.0.6
│   │ │ └── sprintf-js@1.0.3
│   │ └── esprima@2.7.2
│   ├─┬ json-stable-stringify@1.0.1
│   │ └── jsonify@0.0.0
│   ├─┬ lodash.clonedeep@3.0.2
│   │ └── lodash._baseclone@3.3.0
│   ├─┬ lodash.merge@3.3.2
│   │ ├── lodash._arraycopy@3.0.0
│   │ ├── lodash._arrayeach@3.0.0
│   │ ├── lodash.isplainobject@3.2.0
│   │ ├── lodash.istypedarray@3.0.5
│   │ └── lodash.toplainobject@3.0.0
│   ├─┬ lodash.omit@3.1.0
│   │ ├── lodash._arraymap@3.0.0
│   │ └─┬ lodash._basedifference@3.0.3
│   │   ├── lodash._baseindexof@3.1.0
│   │   ├── lodash._cacheindexof@3.0.2
│   │   └── lodash._createcache@3.1.2
│   ├── minimatch@3.0.0
│   ├─┬ optionator@0.6.0
│   │ ├── deep-is@0.1.3
│   │ ├── fast-levenshtein@1.0.7
│   │ ├── levn@0.2.5
│   │ ├── prelude-ls@1.1.2
│   │ ├── type-check@0.3.2
│   │ └── wordwrap@0.0.2
│   ├── path-is-inside@1.0.1
│   ├── shelljs@0.5.3
│   ├── strip-json-comments@1.0.4
│   ├── text-table@0.2.0
│   ├── user-home@2.0.0
│   └── xml-escape@1.0.0
├─┬ gulp-exclude-gitignore@1.0.0
│ ├── flatten@0.0.1
│ └─┬ gulp-ignore@1.2.1
│   ├─┬ gulp-match@0.2.1
│   │ └─┬ minimatch@1.0.0
│   │   ├── lru-cache@2.7.3
│   │   └── sigmund@1.0.1
│   └─┬ through2@0.6.5
│     └── readable-stream@1.0.33
├─┬ gulp-istanbul@0.10.3
│ ├─┬ istanbul@0.4.2
│ │ ├── abbrev@1.0.7
│ │ ├── async@1.5.2
│ │ ├── esprima@2.7.2
│ │ ├── fileset@0.2.1
│ │ ├── nopt@3.0.6
│ │ ├─┬ once@1.3.3
│ │ │ └── wrappy@1.0.1
│ │ ├─┬ supports-color@3.1.2
│ │ │ └── has-flag@1.0.0
│ │ └── wordwrap@1.0.0
│ └─┬ istanbul-threshold-checker@0.1.0
│   ├─┬ istanbul@0.3.22
│   │ ├── esprima@2.5.0
│   │ ├── supports-color@3.1.2
│   │ └── wordwrap@1.0.0
│   └── lodash@3.6.0
├─┬ gulp-mocha@2.2.0
│ ├─┬ mocha@2.4.5
│ │ ├── commander@2.3.0
│ │ ├── diff@1.4.0
│ │ ├── escape-string-regexp@1.0.2
│ │ ├─┬ glob@3.2.3
│ │ │ ├── graceful-fs@2.0.3
│ │ │ └── minimatch@0.2.14
│ │ ├── growl@1.8.1
│ │ ├─┬ jade@0.26.3
│ │ │ ├── commander@0.6.1
│ │ │ └── mkdirp@0.3.0
│ │ └── supports-color@1.2.0
│ ├─┬ plur@2.1.2
│ │ └── irregular-plurals@1.1.0
│ ├── resolve-from@1.0.1
│ ├─┬ temp@0.8.3
│ │ └── rimraf@2.2.8
│ └── through@2.3.8
├─┬ gulp-nsp@2.3.0
│ ├─┬ gulp-util@3.0.7
│ │ ├── array-differ@1.0.0
│ │ ├── array-uniq@1.0.2
│ │ ├── beeper@1.1.0
│ │ ├─┬ chalk@1.1.1
│ │ │ ├── ansi-styles@2.1.0
│ │ │ ├── escape-string-regexp@1.0.4
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.0.0
│ │ │ ├─┬ strip-ansi@3.0.0
│ │ │ │ └── ansi-regex@2.0.0
│ │ │ └── supports-color@2.0.0
│ │ ├─┬ dateformat@1.0.12
│ │ │ ├── get-stdin@4.0.1
│ │ │ └─┬ meow@3.6.0
│ │ │   ├─┬ camelcase-keys@2.0.0
│ │ │   │ ├── camelcase@2.0.1
│ │ │   │ └── map-obj@1.0.1
│ │ │   ├─┬ loud-rejection@1.2.0
│ │ │   │ └── signal-exit@2.1.2
│ │ │   ├─┬ normalize-package-data@2.3.5
│ │ │   │ ├── hosted-git-info@2.1.4
│ │ │   │ ├─┬ is-builtin-module@1.0.0
│ │ │   │ │ └── builtin-modules@1.1.1
│ │ │   │ ├── semver@5.1.0
│ │ │   │ └─┬ validate-npm-package-license@3.0.1
│ │ │   │   ├─┬ spdx-correct@1.0.2
│ │ │   │   │ └── spdx-license-ids@1.1.0
│ │ │   │   └─┬ spdx-expression-parse@1.0.2
│ │ │   │     ├── spdx-exceptions@1.0.4
│ │ │   │     └── spdx-license-ids@1.1.0
│ │ │   ├── object-assign@4.0.1
│ │ │   ├─┬ read-pkg-up@1.0.1
│ │ │   │ ├─┬ find-up@1.1.0
│ │ │   │ │ ├── path-exists@2.1.0
│ │ │   │ │ └─┬ pinkie-promise@2.0.0
│ │ │   │ │   └── pinkie@2.0.1
│ │ │   │ └─┬ read-pkg@1.1.0
│ │ │   │   ├─┬ load-json-file@1.1.0
│ │ │   │   │ ├── graceful-fs@4.1.2
│ │ │   │   │ ├─┬ parse-json@2.2.0
│ │ │   │   │ │ └─┬ error-ex@1.3.0
│ │ │   │   │ │   └── is-arrayish@0.2.1
│ │ │   │   │ ├── pify@2.3.0
│ │ │   │   │ ├─┬ pinkie-promise@2.0.0
│ │ │   │   │ │ └── pinkie@2.0.1
│ │ │   │   │ └─┬ strip-bom@2.0.0
│ │ │   │   │   └── is-utf8@0.2.1
│ │ │   │   └─┬ path-type@1.1.0
│ │ │   │     ├── graceful-fs@4.1.2
│ │ │   │     ├── pify@2.3.0
│ │ │   │     └─┬ pinkie-promise@2.0.0
│ │ │   │       └── pinkie@2.0.1
│ │ │   ├─┬ redent@1.0.0
│ │ │   │ ├─┬ indent-string@2.1.0
│ │ │   │ │ └─┬ repeating@2.0.0
│ │ │   │ │   └─┬ is-finite@1.0.1
│ │ │   │ │     └── number-is-nan@1.0.0
│ │ │   │ └── strip-indent@1.0.1
│ │ │   └── trim-newlines@1.0.0
│ │ ├── fancy-log@1.1.0
│ │ ├─┬ gulplog@1.0.0
│ │ │ └─┬ glogg@1.0.0
│ │ │   └── sparkles@1.0.0
│ │ ├─┬ has-gulplog@0.1.0
│ │ │ └── sparkles@1.0.0
│ │ ├── lodash._reescape@3.0.0
│ │ ├── lodash._reevaluate@3.0.0
│ │ ├── lodash._reinterpolate@3.0.0
│ │ ├─┬ lodash.template@3.6.2
│ │ │ ├── lodash._basecopy@3.0.1
│ │ │ ├── lodash._basetostring@3.0.1
│ │ │ ├── lodash._basevalues@3.0.0
│ │ │ ├── lodash._isiterateecall@3.0.9
│ │ │ ├── lodash.escape@3.0.0
│ │ │ ├─┬ lodash.keys@3.1.2
│ │ │ │ ├── lodash._getnative@3.9.1
│ │ │ │ ├── lodash.isarguments@3.0.4
│ │ │ │ └── lodash.isarray@3.0.4
│ │ │ ├── lodash.restparam@3.6.1
│ │ │ └── lodash.templatesettings@3.1.0
│ │ ├── minimist@1.2.0
│ │ ├─┬ multipipe@0.1.2
│ │ │ └─┬ duplexer2@0.0.2
│ │ │   └─┬ readable-stream@1.1.13
│ │ │     ├── core-util-is@1.0.2
│ │ │     ├── inherits@2.0.1
│ │ │     ├── isarray@0.0.1
│ │ │     └── string_decoder@0.10.31
│ │ ├── object-assign@3.0.0
│ │ ├── replace-ext@0.0.1
│ │ ├─┬ through2@2.0.0
│ │ │ ├─┬ readable-stream@2.0.5
│ │ │ │ ├── core-util-is@1.0.2
│ │ │ │ ├── inherits@2.0.1
│ │ │ │ ├── isarray@0.0.1
│ │ │ │ ├── process-nextick-args@1.0.6
│ │ │ │ ├── string_decoder@0.10.31
│ │ │ │ └── util-deprecate@1.0.2
│ │ │ └── xtend@4.0.1
│ │ └─┬ vinyl@0.5.3
│ │   ├── clone@1.0.2
│ │   └── clone-stats@0.0.1
│ └─┬ nsp@2.2.0
│   ├─┬ chalk@1.1.1
│   │ ├── ansi-styles@2.1.0
│   │ ├── escape-string-regexp@1.0.4
│   │ ├─┬ has-ansi@2.0.0
│   │ │ └── ansi-regex@2.0.0
│   │ ├─┬ strip-ansi@3.0.0
│   │ │ └── ansi-regex@2.0.0
│   │ └── supports-color@2.0.0
│   ├─┬ cli-table@0.3.1
│   │ └── colors@1.0.3
│   ├─┬ https-proxy-agent@1.0.0
│   │ ├─┬ agent-base@2.0.1
│   │ │ └── semver@5.0.3
│   │ ├─┬ debug@2.2.0
│   │ │ └── ms@0.7.1
│   │ └── extend@3.0.0
│   ├─┬ joi@6.10.1
│   │ ├── hoek@2.16.3
│   │ ├── isemail@1.2.0
│   │ ├── moment@2.10.6
│   │ └── topo@1.1.0
│   ├─┬ nodesecurity-npm-utils@3.2.0
│   │ └─┬ silent-npm-registry-client@2.0.0
│   │   ├─┬ npm-registry-client@7.0.9
│   │   │ ├── chownr@1.0.1
│   │   │ ├─┬ concat-stream@1.5.1
│   │   │ │ ├── inherits@2.0.1
│   │   │ │ ├─┬ readable-stream@2.0.5
│   │   │ │ │ ├── core-util-is@1.0.2
│   │   │ │ │ ├── isarray@0.0.1
│   │   │ │ │ ├── process-nextick-args@1.0.6
│   │   │ │ │ ├── string_decoder@0.10.31
│   │   │ │ │ └── util-deprecate@1.0.2
│   │   │ │ └── typedarray@0.0.6
│   │   │ ├── graceful-fs@4.1.2
│   │   │ ├─┬ mkdirp@0.5.1
│   │   │ │ └── minimist@0.0.8
│   │   │ ├─┬ normalize-package-data@2.3.5
│   │   │ │ ├── hosted-git-info@2.1.4
│   │   │ │ ├─┬ is-builtin-module@1.0.0
│   │   │ │ │ └── builtin-modules@1.1.0
│   │   │ │ └─┬ validate-npm-package-license@3.0.1
│   │   │ │   ├─┬ spdx-correct@1.0.2
│   │   │ │   │ └── spdx-license-ids@1.1.0
│   │   │ │   └─┬ spdx-expression-parse@1.0.2
│   │   │ │     ├── spdx-exceptions@1.0.4
│   │   │ │     └── spdx-license-ids@1.1.0
│   │   │ ├─┬ npm-package-arg@4.1.0
│   │   │ │ └── hosted-git-info@2.1.4
│   │   │ ├─┬ npmlog@2.0.0
│   │   │ │ ├── ansi@0.3.0
│   │   │ │ ├─┬ are-we-there-yet@1.0.5
│   │   │ │ │ ├── delegates@0.1.0
│   │   │ │ │ └─┬ readable-stream@2.0.5
│   │   │ │ │   ├── core-util-is@1.0.2
│   │   │ │ │   ├── inherits@2.0.1
│   │   │ │ │   ├── isarray@0.0.1
│   │   │ │ │   ├── process-nextick-args@1.0.6
│   │   │ │ │   ├── string_decoder@0.10.31
│   │   │ │ │   └── util-deprecate@1.0.2
│   │   │ │ └─┬ gauge@1.2.2
│   │   │ │   ├── has-unicode@1.0.1
│   │   │ │   ├─┬ lodash.pad@3.1.1
│   │   │ │   │ ├── lodash._basetostring@3.0.1
│   │   │ │   │ └─┬ lodash._createpadding@3.6.1
│   │   │ │   │   └── lodash.repeat@3.0.1
│   │   │ │   ├─┬ lodash.padleft@3.1.1
│   │   │ │   │ ├── lodash._basetostring@3.0.1
│   │   │ │   │ └─┬ lodash._createpadding@3.6.1
│   │   │ │   │   └── lodash.repeat@3.0.1
│   │   │ │   └─┬ lodash.padright@3.1.1
│   │   │ │     ├── lodash._basetostring@3.0.1
│   │   │ │     └─┬ lodash._createpadding@3.6.1
│   │   │ │       └── lodash.repeat@3.0.1
│   │   │ ├─┬ once@1.3.3
│   │   │ │ └── wrappy@1.0.1
│   │   │ ├─┬ request@2.67.0
│   │   │ │ ├── aws-sign2@0.6.0
│   │   │ │ ├─┬ bl@1.0.0
│   │   │ │ │ └─┬ readable-stream@2.0.5
│   │   │ │ │   ├── core-util-is@1.0.2
│   │   │ │ │   ├── inherits@2.0.1
│   │   │ │ │   ├── isarray@0.0.1
│   │   │ │ │   ├── process-nextick-args@1.0.6
│   │   │ │ │   ├── string_decoder@0.10.31
│   │   │ │ │   └── util-deprecate@1.0.2
│   │   │ │ ├── caseless@0.11.0
│   │   │ │ ├─┬ combined-stream@1.0.5
│   │   │ │ │ └── delayed-stream@1.0.0
│   │   │ │ ├── extend@3.0.0
│   │   │ │ ├── forever-agent@0.6.1
│   │   │ │ ├─┬ form-data@1.0.0-rc3
│   │   │ │ │ └── async@1.5.0
│   │   │ │ ├─┬ har-validator@2.0.3
│   │   │ │ │ ├─┬ commander@2.9.0
│   │   │ │ │ │ └── graceful-readlink@1.0.1
│   │   │ │ │ ├─┬ is-my-json-valid@2.12.3
│   │   │ │ │ │ ├── generate-function@2.0.0
│   │   │ │ │ │ ├─┬ generate-object-property@1.2.0
│   │   │ │ │ │ │ └── is-property@1.0.2
│   │   │ │ │ │ └── jsonpointer@2.0.0
│   │   │ │ │ └─┬ pinkie-promise@2.0.0
│   │   │ │ │   └── pinkie@2.0.1
│   │   │ │ ├─┬ hawk@3.1.2
│   │   │ │ │ ├── boom@2.10.1
│   │   │ │ │ ├── cryptiles@2.0.5
│   │   │ │ │ ├── hoek@2.16.3
│   │   │ │ │ └── sntp@1.0.9
│   │   │ │ ├─┬ http-signature@1.1.0
│   │   │ │ │ ├── assert-plus@0.1.5
│   │   │ │ │ ├─┬ jsprim@1.2.2
│   │   │ │ │ │ ├── extsprintf@1.0.2
│   │   │ │ │ │ ├── json-schema@0.2.2
│   │   │ │ │ │ └── verror@1.3.6
│   │   │ │ │ └─┬ sshpk@1.7.1
│   │   │ │ │   ├── asn1@0.2.3
│   │   │ │ │   ├── assert-plus@0.2.0
│   │   │ │ │   ├─┬ dashdash@1.10.1
│   │   │ │ │   │ └── assert-plus@0.1.5
│   │   │ │ │   ├── ecc-jsbn@0.1.1
│   │   │ │ │   ├── jodid25519@1.0.2
│   │   │ │ │   ├── jsbn@0.1.0
│   │   │ │ │   └── tweetnacl@0.13.2
│   │   │ │ ├── is-typedarray@1.0.0
│   │   │ │ ├── isstream@0.1.2
│   │   │ │ ├── json-stringify-safe@5.0.1
│   │   │ │ ├─┬ mime-types@2.1.8
│   │   │ │ │ └── mime-db@1.20.0
│   │   │ │ ├── node-uuid@1.4.7
│   │   │ │ ├── oauth-sign@0.8.0
│   │   │ │ ├── qs@5.2.0
│   │   │ │ ├── stringstream@0.0.5
│   │   │ │ ├── tough-cookie@2.2.1
│   │   │ │ └── tunnel-agent@0.4.2
│   │   │ ├── retry@0.8.0
│   │   │ ├─┬ rimraf@2.4.4
│   │   │ │ └─┬ glob@5.0.15
│   │   │ │   ├─┬ inflight@1.0.4
│   │   │ │   │ └── wrappy@1.0.1
│   │   │ │   ├── inherits@2.0.1
│   │   │ │   └─┬ minimatch@3.0.0
│   │   │ │     └─┬ brace-expansion@1.1.2
│   │   │ │       ├── balanced-match@0.3.0
│   │   │ │       └── concat-map@0.0.1
│   │   │ └── slide@1.1.6
│   │   └── xtend@4.0.1
│   ├── path-is-absolute@1.0.0
│   ├─┬ rc@1.1.5
│   │ ├── deep-extend@0.4.0

{
│   │ ├── ini@1.3.4
│   │ ├── minimist@1.2.0
│   │ └── strip-json-comments@1.0.4
│   ├── semver@5.1.0
│   ├─┬ subcommand@2.0.3
│   │ ├── cliclopts@1.1.1
│   │ ├─┬ debug@2.2.0
│   │ │ └── ms@0.7.1
│   │ ├── minimist@1.2.0
│   │ └── xtend@4.0.1
│   └─┬ wreck@6.3.0
│     ├── boom@2.10.1
│     └── hoek@2.16.3
├── gulp-plumber@1.1.0
└─┬ isparta@3.5.3
  ├─┬ escodegen@1.7.1
  │ ├── esprima@1.2.5
  │ ├── estraverse@1.9.3
  │ ├── optionator@0.5.0
  │ └── source-map@0.2.0
  ├── esprima@2.7.2
  ├─┬ lodash.partial@3.1.1
  │ ├─┬ lodash._createwrapper@3.2.0
  │ │ └── lodash._root@3.0.1
  │ └── lodash._replaceholders@3.0.0
  ├─┬ mkdirp@0.5.1
  │ └── minimist@0.0.8
  ├─┬ nomnomnomnom@2.0.1
  │ ├─┬ chalk@0.4.0
  │ │ ├── ansi-styles@1.0.0
  │ │ ├── has-color@0.1.7
  │ │ └── strip-ansi@0.1.1
  │ └── underscore@1.6.0
  └─┬ which@1.2.4
    ├─┬ is-absolute@0.1.7
    │ └── is-relative@0.1.3
    └── isexe@1.1.2

Reinitialized existing Git repository in /Users/doug.wade/name-suffixes/.git/
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)
SBoudrias commented 8 years ago

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.

doug-wade commented 8 years ago

Thanks @SBoudrias !