Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - installing hubot on centos 6.7 (digital ocean) #1180

Closed
TinajaLabs opened this issue May 2, 2016 · 34 comments
Closed

Error - installing hubot on centos 6.7 (digital ocean) #1180

TinajaLabs opened this issue May 2, 2016 · 34 comments

Comments

@TinajaLabs
Copy link

Trying to install hubot on a droplet which is running centos 6.7

node v4.3.3
npm 3.8.8

I looked at rx.js line 77 and it references this:

  function thrower(e) {
    throw e;      // this is line 77
  }

Would appreciate any tips.

Thanks,
Chris.

The error:

# yo hubot
                     _____________________________
                    /                             \
   //\              |      Extracting input for    |
  ////\    _____    |   self-replication process   |
 //////\  /_____\   \                             /
 ======= |[^_/\_]|   /----------------------------
  |   | _|___@@__|__
  +===+/  ///     \_\
   | |_\ /// HUBOT/\\
   |___/\//      /  \\
         \      /   +---+
          \____/    |   |
           | //|    +===+
            \//      |xx|

? Owner User <user@example.com>
? Bot name hubot
? Description A simple helpful robot for your Company
? Bot adapter (campfire)


/usr/lib/node_modules/yo/node_modules/rx/dist/rx.js:77
    throw e;
    ^
true

Here's what looks like I have installed:

npm -g ls
/usr/lib
├─┬ @reactivex/rxjs@5.0.0-beta.7
│ └── symbol-observable@0.2.4
├─┬ generator-hubot@0.3.1
│ ├─┬ chalk@0.5.1
│ │ ├── ansi-styles@1.1.0
│ │ ├── escape-string-regexp@1.0.5
│ │ ├── has-ansi@0.1.0
│ │ ├── strip-ansi@0.3.0
│ │ └── supports-color@0.2.0
│ ├─┬ npm-name@1.2.0
│ │ ├─┬ got@5.6.0
│ │ │ ├─┬ create-error-class@3.0.2
│ │ │ │ └── capture-stack-trace@1.0.0
│ │ │ ├── duplexer2@0.1.4
│ │ │ ├── is-plain-obj@1.1.0
│ │ │ ├── is-redirect@1.0.0
│ │ │ ├── is-retry-allowed@1.0.0
│ │ │ ├── is-stream@1.1.0
│ │ │ ├── lowercase-keys@1.0.0
│ │ │ ├── node-status-codes@1.0.0
│ │ │ ├── object-assign@4.1.0
│ │ │ ├─┬ parse-json@2.2.0
│ │ │ │ └─┬ error-ex@1.3.0
│ │ │ │   └── is-arrayish@0.2.1
│ │ │ ├─┬ pinkie-promise@2.0.1
│ │ │ │ └── pinkie@2.0.4
│ │ │ ├── read-all-stream@3.1.0
│ │ │ ├─┬ readable-stream@2.1.2
│ │ │ │ ├── core-util-is@1.0.2
│ │ │ │ ├── isarray@1.0.0
│ │ │ │ ├── process-nextick-args@1.0.6
│ │ │ │ ├── string_decoder@0.10.31
│ │ │ │ └── util-deprecate@1.0.2
│ │ │ ├── timed-out@2.0.0
│ │ │ ├── unzip-response@1.0.0
│ │ │ └─┬ url-parse-lax@1.0.0
│ │ │   └── prepend-http@1.0.3
│ │ ├─┬ log-symbols@1.0.2
│ │ │ └─┬ chalk@1.1.3
│ │ │   ├── ansi-styles@2.2.1
│ │ │   ├─┬ has-ansi@2.0.0
│ │ │   │ └── ansi-regex@2.0.0
│ │ │   ├── strip-ansi@3.0.1
│ │ │   └── supports-color@2.0.0
│ │ ├─┬ meow@3.7.0
│ │ │ ├─┬ camelcase-keys@2.1.0
│ │ │ │ └── camelcase@2.1.1
│ │ │ ├── decamelize@1.2.0
│ │ │ ├─┬ loud-rejection@1.3.0
│ │ │ │ ├── array-find-index@1.0.1
│ │ │ │ └── signal-exit@2.1.2
│ │ │ ├── map-obj@1.0.1
│ │ │ ├── minimist@1.2.0
│ │ │ ├─┬ 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.2.1
│ │ │ │   └─┬ spdx-expression-parse@1.0.2
│ │ │ │     └── spdx-exceptions@1.0.4
│ │ │ ├─┬ read-pkg-up@1.0.1
│ │ │ │ ├─┬ find-up@1.1.2
│ │ │ │ │ └── path-exists@2.1.0
│ │ │ │ └─┬ read-pkg@1.1.0
│ │ │ │   ├─┬ load-json-file@1.1.0
│ │ │ │   │ ├── graceful-fs@4.1.3
│ │ │ │   │ ├── pify@2.3.0
│ │ │ │   │ └─┬ strip-bom@2.0.0
│ │ │ │   │   └── is-utf8@0.2.1
│ │ │ │   └── path-type@1.1.0
│ │ │ ├─┬ redent@1.0.0
│ │ │ │ ├─┬ indent-string@2.1.0
│ │ │ │ │ └─┬ repeating@2.0.1
│ │ │ │ │   └─┬ is-finite@1.0.1
│ │ │ │ │     └── number-is-nan@1.0.0
│ │ │ │ └─┬ strip-indent@1.0.1
│ │ │ │   └── get-stdin@4.0.1
│ │ │ └── trim-newlines@1.0.0
│ │ └─┬ registry-url@3.1.0
│ │   └─┬ rc@1.1.6
│ │     ├── deep-extend@0.4.1
│ │     ├── ini@1.3.4
│ │     └── strip-json-comments@1.0.4
│ ├─┬ yeoman-generator@0.17.7
│ │ ├── async@0.9.2
│ │ ├─┬ cheerio@0.17.0
│ │ │ ├─┬ CSSselect@0.4.1
│ │ │ │ ├── CSSwhat@0.4.7
│ │ │ │ └── domutils@1.4.3
│ │ │ ├─┬ dom-serializer@0.0.1
│ │ │ │ └── domelementtype@1.1.3
│ │ │ ├── entities@1.1.1
│ │ │ └─┬ htmlparser2@3.7.3
│ │ │   ├── domelementtype@1.3.0
│ │ │   ├── domhandler@2.2.1
│ │ │   ├── domutils@1.5.1
│ │ │   ├── entities@1.0.0
│ │ │   └─┬ readable-stream@1.1.14
│ │ │     └── isarray@0.0.1
│ │ ├─┬ class-extend@0.1.2
│ │ │ └── object-assign@2.1.1
│ │ ├─┬ cross-spawn@0.2.9
│ │ │ └── lru-cache@2.7.3
│ │ ├── dargs@2.1.0
│ │ ├─┬ debug@1.0.4
│ │ │ └── ms@0.6.2
│ │ ├── diff@1.4.0
│ │ ├─┬ download@1.0.7
│ │ │ ├─┬ archive-type@1.0.4
│ │ │ │ ├── get-stdin@3.0.2
│ │ │ │ ├── is-7zip@1.0.0
│ │ │ │ ├── is-bzip2@1.0.0
│ │ │ │ ├── is-gzip@1.0.0
│ │ │ │ ├── is-rar@1.0.0
│ │ │ │ ├── is-tar@1.0.0
│ │ │ │ ├── is-zip@1.0.0
│ │ │ │ ├─┬ meow@2.1.0
│ │ │ │ │ ├─┬ camelcase-keys@1.0.0
│ │ │ │ │ │ └── camelcase@1.2.1
│ │ │ │ │ ├─┬ indent-string@1.2.2
│ │ │ │ │ │ ├── get-stdin@4.0.1
│ │ │ │ │ │ └── repeating@1.1.3
│ │ │ │ │ └── object-assign@2.1.1
│ │ │ │ └── read-chunk@1.0.1
│ │ │ ├─┬ decompress@1.0.7
│ │ │ │ ├─┬ decompress-tar@1.0.3
│ │ │ │ │ ├── simple-bufferstream@0.0.4
│ │ │ │ │ ├─┬ strip-dirs@0.1.1
│ │ │ │ │ │ ├── get-stdin@3.0.2
│ │ │ │ │ │ ├─┬ is-absolute@0.1.7
│ │ │ │ │ │ │ └── is-relative@0.1.3
│ │ │ │ │ │ └── is-integer@1.0.6
│ │ │ │ │ └─┬ tar@1.0.3
│ │ │ │ │   ├── block-stream@0.0.9
│ │ │ │ │   └── fstream@1.0.8
│ │ │ │ ├─┬ decompress-tarbz2@1.0.2
│ │ │ │ │ └─┬ seek-bzip@1.0.5
│ │ │ │ │   └── commander@2.8.1
│ │ │ │ ├── decompress-targz@1.0.3
│ │ │ │ └─┬ decompress-unzip@1.0.0
│ │ │ │   ├── adm-zip@0.4.7
│ │ │ │   ├── is-zip@0.1.0
│ │ │ │   └─┬ temp-write@1.1.2
│ │ │ │     ├── os-tmpdir@1.0.1
│ │ │ │     └── uuid@2.0.2
│ │ │ ├─┬ each-async@1.1.1
│ │ │ │ ├── onetime@1.1.0
│ │ │ │ └── set-immediate-shim@1.0.1
│ │ │ ├─┬ fs-extra@0.11.1
│ │ │ │ ├── jsonfile@2.3.0
│ │ │ │ └── ncp@0.6.0
│ │ │ ├── object-assign@1.0.0
│ │ │ └── ware@0.3.0
│ │ ├─┬ file-utils@0.2.2
│ │ │ ├─┬ findup-sync@0.2.1
│ │ │ │ └── glob@4.3.5
│ │ │ └─┬ minimatch@2.0.10
│ │ │   └─┬ brace-expansion@1.1.4
│ │ │     ├── balanced-match@0.4.1
│ │ │     └── concat-map@0.0.1
│ │ ├─┬ findup-sync@0.1.3
│ │ │ └─┬ glob@3.2.11
│ │ │   └─┬ minimatch@0.3.0
│ │ │     └── sigmund@1.0.1
│ │ ├─┬ github-username@1.1.1
│ │ │ ├── get-stdin@1.0.0

│ │ │   ├─┬ duplexify@3.4.3
│ │ │   │ └── end-of-stream@1.0.0
│ │ │   ├── infinity-agent@2.0.3
│ │ │   ├── nested-error-stacks@1.0.2
│ │ │   ├── object-assign@2.1.1
│ │ │   ├── read-all-stream@2.2.0
│ │ │   └── statuses@1.2.1
│ │ ├─┬ glob@4.5.3
│ │ │ ├─┬ inflight@1.0.4
│ │ │ │ └── wrappy@1.0.1
│ │ │ ├── inherits@2.0.1
│ │ │ ├── minimatch@2.0.10
│ │ │ └── once@1.3.3
│ │ ├─┬ grouped-queue@0.3.2
│ │ │ └── lodash@3.10.1
│ │ ├─┬ gruntfile-editor@0.2.0
│ │ │ └─┬ ast-query@0.2.5
│ │ │   ├─┬ escodegen@1.3.3
│ │ │   │ ├── estraverse@1.5.1
│ │ │   │ ├── esutils@1.0.0
│ │ │   │ └─┬ source-map@0.1.43
│ │ │   │   └── amdefine@1.0.0
│ │ │   ├── esprima@1.1.1
│ │ │   └── traverse@0.6.6
│ │ ├── iconv-lite@0.4.13
│ │ ├─┬ inquirer@0.7.3
│ │ │ ├── ansi-regex@1.1.1
│ │ │ ├─┬ cli-color@0.3.3
│ │ │ │ ├── d@0.1.1
│ │ │ │ ├─┬ es5-ext@0.10.11
│ │ │ │ │ ├── es6-iterator@2.0.0
│ │ │ │ │ └── es6-symbol@3.0.2
│ │ │ │ ├─┬ memoizee@0.3.10
│ │ │ │ │ ├─┬ es6-weak-map@0.1.4
│ │ │ │ │ │ ├── es6-iterator@0.1.3
│ │ │ │ │ │ └── es6-symbol@2.0.1
│ │ │ │ │ ├── event-emitter@0.3.4
│ │ │ │ │ ├── lru-queue@0.1.0
│ │ │ │ │ └── next-tick@0.2.2
│ │ │ │ └── timers-ext@0.1.0
│ │ │ ├── figures@1.5.0
│ │ │ ├── mute-stream@0.0.4
│ │ │ ├─┬ readline2@0.1.1
│ │ │ │ └─┬ strip-ansi@2.0.1
│ │ │ │   └── ansi-regex@1.1.1
│ │ │ ├── rx@2.5.3
│ │ │ └── through@2.3.8
│ │ ├── isbinaryfile@2.0.4
│ │ ├── lodash@2.4.2
│ │ ├── mime@1.3.4
│ │ ├─┬ mkdirp@0.5.1
│ │ │ └── minimist@0.0.8
│ │ ├─┬ nopt@3.0.6
│ │ │ └── abbrev@1.0.7
│ │ ├─┬ request@2.72.0
│ │ │ ├── aws-sign2@0.6.0
│ │ │ ├─┬ aws4@1.3.2
│ │ │ │ └─┬ lru-cache@4.0.1
│ │ │ │   ├── pseudomap@1.0.2
│ │ │ │   └── yallist@2.0.0
│ │ │ ├─┬ bl@1.1.2
│ │ │ │ └── readable-stream@2.0.6
│ │ │ ├── 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-rc4
│ │ │ │ └── async@1.5.2
│ │ │ ├─┬ har-validator@2.0.6
│ │ │ │ ├─┬ chalk@1.1.3
│ │ │ │ │ ├── ansi-styles@2.2.1
│ │ │ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ │ │ └── ansi-regex@2.0.0
│ │ │ │ │ ├── strip-ansi@3.0.1
│ │ │ │ │ └── supports-color@2.0.0
│ │ │ │ ├─┬ commander@2.9.0
│ │ │ │ │ └── graceful-readlink@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
│ │ │ │   └── xtend@4.0.1
│ │ │ ├─┬ 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.8.3
│ │ │ │   ├── asn1@0.2.3
│ │ │ │   ├── assert-plus@1.0.0
│ │ │ │   ├─┬ dashdash@1.13.1
│ │ │ │   │ └── assert-plus@1.0.0
│ │ │ │   ├── ecc-jsbn@0.1.1
│ │ │ │   ├─┬ getpass@0.1.6
│ │ │ │   │ └── assert-plus@1.0.0
│ │ │ │   ├── jodid25519@1.0.2
│ │ │ │   ├── jsbn@0.1.0
│ │ │ │   └── tweetnacl@0.13.3
│ │ │ ├── is-typedarray@1.0.0
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.1
│ │ │ ├─┬ mime-types@2.1.11
│ │ │ │ └── mime-db@1.23.0
│ │ │ ├── node-uuid@1.4.7
│ │ │ ├── oauth-sign@0.8.1
│ │ │ ├── qs@6.1.0
│ │ │ ├── stringstream@0.0.5
│ │ │ ├── tough-cookie@2.2.2
│ │ │ └── tunnel-agent@0.4.2
│ │ ├─┬ rimraf@2.5.2
│ │ │ └─┬ glob@7.0.3
│ │ │   ├── minimatch@3.0.0
│ │ │   └── path-is-absolute@1.0.0
│ │ ├── run-async@0.1.0
│ │ ├── shelljs@0.3.0
│ │ ├── text-table@0.2.0
│ │ └── underscore.string@2.4.0
│ └─┬ yosay@0.3.0
│   ├── ansi-regex@0.2.1
│   ├─┬ chalk@0.4.0
│   │ ├── ansi-styles@1.0.0
│   │ ├── has-color@0.1.7
│   │ └── strip-ansi@0.1.1
│   ├── minimist@0.2.0
│   ├── pad-component@0.0.1
│   ├─┬ string-length@0.1.2
│   │ └─┬ strip-ansi@0.2.2
│   │   └── ansi-regex@0.1.0
│   ├─┬ strip-ansi@0.2.2
│   │ └── ansi-regex@0.1.0
│   ├─┬ taketalk@0.1.1
│   │ ├── get-stdin@0.1.0
│   │ └── minimist@0.1.0
│   └── word-wrap@0.1.3
├─┬ json-server@0.8.8
│ ├─┬ body-parser@1.15.0
│ │ ├── bytes@2.2.0
│ │ ├── content-type@1.0.1
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├── depd@1.1.0
│ │ ├─┬ http-errors@1.4.0
│ │ │ ├── inherits@2.0.1
│ │ │ └── statuses@1.2.1
│ │ ├── iconv-lite@0.4.13
│ │ ├─┬ on-finished@2.3.0
│ │ │ └── ee-first@1.1.1
│ │ ├── qs@6.1.0
│ │ ├─┬ raw-body@2.1.5
│ │ │ └── unpipe@1.0.0
│ │ └─┬ type-is@1.6.11
│ │   ├── media-typer@0.3.0
│ │   └─┬ mime-types@2.1.10
│ │     └── mime-db@1.22.0
│ ├─┬ chalk@0.4.0
│ │ ├── ansi-styles@1.0.0
│ │ ├── has-color@0.1.7
│ │ └── strip-ansi@0.1.1
│ ├─┬ compression@1.6.1
│ │ ├─┬ accepts@1.3.1
│ │ │ ├─┬ mime-types@2.1.10
│ │ │ │ └── mime-db@1.22.0
│ │ │ └── negotiator@0.6.0
│ │ ├── bytes@2.2.0
│ │ ├─┬ compressible@2.0.7
│ │ │ └── mime-db@1.22.0
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├── on-headers@1.0.1
│ │ └── vary@1.1.0
│ ├── connect-pause@0.1.0
│ ├─┬ cors@2.7.1
│ │ └── vary@1.1.0
│ ├─┬ errorhandler@1.4.3
│ │ ├─┬ accepts@1.3.1
│ │ │ ├─┬ mime-types@2.1.10
│ │ │ │ └── mime-db@1.22.0
│ │ │ └── negotiator@0.6.0
│ │ └── escape-html@1.0.3
│ ├─┬ express@4.13.4
│ │ ├─┬ accepts@1.2.13
│ │ │ ├─┬ mime-types@2.1.10
│ │ │ │ └── mime-db@1.22.0
│ │ │ └── negotiator@0.5.3
│ │ ├── array-flatten@1.1.1
│ │ ├── content-disposition@0.5.1
│ │ ├── content-type@1.0.1
│ │ ├── cookie@0.1.5
│ │ ├── cookie-signature@1.0.6
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├── depd@1.1.0
│ │ ├── escape-html@1.0.3
│ │ ├── etag@1.7.0
│ │ ├─┬ finalhandler@0.4.1
│ │ │ └── unpipe@1.0.0
│ │ ├── fresh@0.3.0
│ │ ├── merge-descriptors@1.0.1
│ │ ├── methods@1.1.2
│ │ ├─┬ on-finished@2.3.0
│ │ │ └── ee-first@1.1.1
│ │ ├── parseurl@1.3.1
│ │ ├── path-to-regexp@0.1.7
│ │ ├─┬ proxy-addr@1.0.10
│ │ │ ├── forwarded@0.1.0
│ │ │ └── ipaddr.js@1.0.5
│ │ ├── qs@4.0.0
│ │ ├── range-parser@1.0.3
│ │ ├─┬ send@0.13.1
│ │ │ ├── destroy@1.0.4
│ │ │ ├─┬ http-errors@1.3.1
│ │ │ │ └── inherits@2.0.1
│ │ │ ├── mime@1.3.4
│ │ │ ├── ms@0.7.1
│ │ │ └── statuses@1.2.1
│ │ ├── serve-static@1.10.2
│ │ ├─┬ type-is@1.6.11
│ │ │ ├── media-typer@0.3.0
│ │ │ └─┬ mime-types@2.1.10
│ │ │   └── mime-db@1.22.0
│ │ ├── utils-merge@1.0.0
│ │ └── vary@1.0.1
│ ├─┬ got@3.3.1
│ │ ├─┬ duplexify@3.4.2
│ │ │ ├─┬ end-of-stream@1.0.0
│ │ │ │ └─┬ once@1.3.3
│ │ │ │   └── wrappy@1.0.1
│ │ │ └─┬ 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
│ │ ├── infinity-agent@2.0.3
│ │ ├── is-redirect@1.0.0
│ │ ├── is-stream@1.0.1
│ │ ├── lowercase-keys@1.0.0
│ │ ├─┬ nested-error-stacks@1.0.2
│ │ │ └── inherits@2.0.1
│ │ ├── object-assign@3.0.0
│ │ ├── prepend-http@1.0.3
│ │ ├─┬ read-all-stream@3.1.0
│ │ │ ├─┬ pinkie-promise@2.0.0
│ │ │ │ └── pinkie@2.0.4
│ │ │ └─┬ 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
│ │ └── timed-out@2.0.0
│ ├── lodash@3.10.1
│ ├─┬ lowdb@0.10.3
│ │ ├── graceful-fs@3.0.8
│ │ ├─┬ json-parse-helpfulerror@1.0.3
│ │ │ └── jju@1.2.1
│ │ ├── q@1.4.1
│ │ └─┬ steno@0.4.3
│ │   └── graceful-fs@4.1.3
│ ├─┬ method-override@2.3.5
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├── methods@1.1.2
│ │ ├── parseurl@1.3.1
│ │ └── vary@1.0.1
│ ├─┬ morgan@1.6.1
│ │ ├── basic-auth@1.0.3
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├── depd@1.0.1
│ │ ├─┬ on-finished@2.3.0
│ │ │ └── ee-first@1.1.1
│ │ └── on-headers@1.0.1
│ ├── node-uuid@1.4.7
│ ├── object-assign@4.0.1
│ ├── pluralize@1.2.1
│ ├── server-destroy@1.0.1
│ ├── underscore-db@0.9.1
│ ├─┬ update-notifier@0.5.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
│ │ ├─┬ configstore@1.4.0
│ │ │ ├── graceful-fs@4.1.3
│ │ │ ├─┬ mkdirp@0.5.1
│ │ │ │ └── minimist@0.0.8
│ │ │ ├── os-tmpdir@1.0.1
│ │ │ ├─┬ osenv@0.1.3
│ │ │ │ └── os-homedir@1.0.1
│ │ │ ├── uuid@2.0.1
│ │ │ ├─┬ write-file-atomic@1.1.4
│ │ │ │ ├── imurmurhash@0.1.4
│ │ │ │ └── slide@1.1.6
│ │ │ └─┬ xdg-basedir@2.0.0
│ │ │   └── os-homedir@1.0.1
│ │ ├── is-npm@1.0.0
│ │ ├─┬ latest-version@1.0.1
│ │ │ └─┬ package-json@1.2.0
│ │ │   └─┬ registry-url@3.0.3
│ │ │     └─┬ rc@1.1.6
│ │ │       ├── deep-extend@0.4.1
│ │ │       ├── ini@1.3.4
│ │ │       ├── minimist@1.2.0
│ │ │       └── strip-json-comments@1.0.4
│ │ ├─┬ repeating@1.1.3
│ │ │ └─┬ is-finite@1.0.1
│ │ │   └── number-is-nan@1.0.0
│ │ ├─┬ semver-diff@2.1.0
│ │ │ └── semver@5.1.0
│ │ └─┬ string-length@1.0.1
│ │   └─┬ strip-ansi@3.0.0
│ │     └── ansi-regex@2.0.0
│ └─┬ yargs@3.32.0
│   ├── camelcase@2.1.0
│   ├─┬ cliui@3.1.0
│   │ ├─┬ strip-ansi@3.0.0
│   │ │ └── ansi-regex@2.0.0
│   │ └── wrap-ansi@1.0.0
│   ├─┬ decamelize@1.1.2
│   │ └── escape-string-regexp@1.0.4
│   ├─┬ os-locale@1.4.0
│   │ └─┬ lcid@1.0.0
│   │   └── invert-kv@1.0.0
│   ├─┬ string-width@1.0.1
│   │ ├─┬ code-point-at@1.0.0
│   │ │ └── number-is-nan@1.0.0
│   │ ├─┬ is-fullwidth-code-point@1.0.0
│   │ │ └── number-is-nan@1.0.0
│   │ └─┬ strip-ansi@3.0.0
│   │   └── ansi-regex@2.0.0
│   ├── window-size@0.1.4
│   └── y18n@3.2.0
├─┬ npm@3.8.8
│ ├── abbrev@1.0.7
│ ├── ansi-regex@2.0.0
│ ├── ansicolors@0.3.2
│ ├── ansistyles@0.1.3
│ ├── aproba@1.0.1
│ ├── archy@1.0.0
│ ├── chownr@1.0.1
│ ├── cmd-shim@2.0.2
│ ├─┬ columnify@1.5.4
│ │ └─┬ wcwidth@1.0.0
│ │   └─┬ defaults@1.0.3
│ │     └── clone@1.0.2
│ ├─┬ config-chain@1.1.10
│ │ └── proto-list@1.2.4
│ ├── debuglog@1.0.1
│ ├─┬ dezalgo@1.0.3
│ │ └── asap@2.0.3
│ ├── editor@1.0.0
│ ├── fs-vacuum@1.2.9
│ ├── fs-write-stream-atomic@1.0.8
│ ├── fstream@1.0.8
│ ├─┬ fstream-npm@1.0.7
│ │ └─┬ fstream-ignore@1.0.3
│ │   └─┬ minimatch@3.0.0
│ │     └─┬ brace-expansion@1.1.2
│ │       ├── balanced-match@0.3.0
│ │       └── concat-map@0.0.1
│ ├─┬ glob@7.0.3
│ │ ├─┬ minimatch@3.0.0
│ │ │ └─┬ brace-expansion@1.1.3
│ │ │   ├── balanced-match@0.3.0
│ │ │   └── concat-map@0.0.1
│ │ └── path-is-absolute@1.0.0
│ ├── graceful-fs@4.1.3
│ ├── has-unicode@2.0.0
│ ├── hosted-git-info@2.1.4
│ ├── iferr@0.1.5
│ ├── imurmurhash@0.1.4
│ ├── inflight@1.0.4
│ ├── inherits@2.0.1
│ ├── ini@1.3.4
│ ├─┬ init-package-json@1.9.3
│ │ ├─┬ glob@6.0.4
│ │ │ ├─┬ minimatch@3.0.0
│ │ │ │ └─┬ brace-expansion@1.1.3
│ │ │ │   ├── balanced-match@0.3.0
│ │ │ │   └── concat-map@0.0.1
│ │ │ └── path-is-absolute@1.0.0
│ │ └── promzard@0.3.0
│ ├── lockfile@1.0.1
│ ├── lodash._baseindexof@3.1.0
│ ├─┬ lodash._baseuniq@4.5.1
│ │ ├── lodash._createset@4.0.1
│ │ └── lodash._setcache@4.1.1
│ ├── lodash._bindcallback@3.0.1
│ ├── lodash._cacheindexof@3.0.2
│ ├── lodash._createcache@3.1.2
│ ├── lodash._getnative@3.9.1
│ ├─┬ lodash.clonedeep@4.3.2
│ │ └── lodash._baseclone@4.5.3
│ ├── lodash.isarray@4.0.0
│ ├── lodash.keys@4.0.6
│ ├── lodash.restparam@3.6.1
│ ├─┬ lodash.union@4.3.0
│ │ ├── lodash._baseflatten@4.2.0
│ │ └── lodash.rest@4.0.2
│ ├── lodash.uniq@4.2.1
│ ├─┬ lodash.without@4.1.2
│ │ ├─┬ lodash._basedifference@4.4.1
│ │ │ └── lodash._setcache@4.1.1
│ │ └── lodash.rest@4.0.1
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├─┬ node-gyp@3.3.1
│ │ ├─┬ glob@4.5.3
│ │ │ └─┬ minimatch@2.0.10
│ │ │   └─┬ brace-expansion@1.1.3
│ │ │     ├── balanced-match@0.3.0
│ │ │     └── concat-map@0.0.1
│ │ ├─┬ minimatch@1.0.0
│ │ │ ├── lru-cache@2.7.3
│ │ │ └── sigmund@1.0.1
│ │ └─┬ path-array@1.0.1
│ │   └─┬ array-index@1.0.0
│ │     ├─┬ debug@2.2.0
│ │     │ └── ms@0.7.1
│ │     └─┬ es6-symbol@3.0.2
│ │       ├── d@0.1.1
│ │       └─┬ es5-ext@0.10.11
│ │         └── es6-iterator@2.0.0
│ ├── nopt@3.0.6
│ ├── normalize-git-url@3.0.2
│ ├─┬ normalize-package-data@2.3.5
│ │ └─┬ is-builtin-module@1.0.0
│ │   └── builtin-modules@1.1.1
│ ├── npm-cache-filename@1.0.2
│ ├── npm-install-checks@3.0.0
│ ├── npm-package-arg@4.1.1
│ ├─┬ npm-registry-client@7.1.0
│ │ ├─┬ concat-stream@1.5.1
│ │ │ ├─┬ readable-stream@2.0.6
│ │ │ │ ├── core-util-is@1.0.2
│ │ │ │ ├── isarray@1.0.0
│ │ │ │ ├── process-nextick-args@1.0.6
│ │ │ │ ├── string_decoder@0.10.31
│ │ │ │ └── util-deprecate@1.0.2
│ │ │ └── typedarray@0.0.6
│ │ └── retry@0.8.0
│ ├── npm-user-validate@0.1.2
│ ├─┬ npmlog@2.0.3
│ │ ├── ansi@0.3.1
│ │ ├─┬ are-we-there-yet@1.1.2
│ │ │ └── delegates@1.0.0
│ │ └─┬ gauge@1.2.7
│ │   ├─┬ lodash.pad@4.1.0
│ │   │ ├── lodash.repeat@4.0.0
│ │   │ └── lodash.tostring@4.1.2
│ │   ├─┬ lodash.padend@4.2.0
│ │   │ ├── lodash.repeat@4.0.0
│ │   │ └── lodash.tostring@4.1.2
│ │   └─┬ lodash.padstart@4.2.0
│ │     ├── lodash.repeat@4.0.0
│ │     └── lodash.tostring@4.1.2
│ ├── once@1.3.3
│ ├── opener@1.4.1
│ ├─┬ osenv@0.1.3
│ │ ├── os-homedir@1.0.1
│ │ └── os-tmpdir@1.0.1
│ ├── path-is-inside@1.0.1
│ ├─┬ read@1.0.7
│ │ └── mute-stream@0.0.5
│ ├── read-cmd-shim@1.0.1
│ ├─┬ read-installed@4.0.3
│ │ └── util-extend@1.0.3
│ ├─┬ read-package-json@2.0.3
│ │ ├─┬ glob@6.0.4
│ │ │ ├─┬ minimatch@3.0.0
│ │ │ │ └─┬ brace-expansion@1.1.3
│ │ │ │   ├── balanced-match@0.3.0
│ │ │ │   └── concat-map@0.0.1
│ │ │ └── path-is-absolute@1.0.0
│ │ └─┬ json-parse-helpfulerror@1.0.3
│ │   └── jju@1.2.1
│ ├── read-package-tree@5.1.2
│ ├─┬ readable-stream@2.1.0
│ │ ├── core-util-is@1.0.2
│ │ ├─┬ inline-process-browser@2.0.1
│ │ │ ├─┬ falafel@1.2.0
│ │ │ │ ├── acorn@1.2.2
│ │ │ │ ├── foreach@2.0.5
│ │ │ │ ├── isarray@0.0.1
│ │ │ │ └── object-keys@1.0.9
│ │ │ └─┬ through2@0.6.5
│ │ │   ├─┬ readable-stream@1.0.34
│ │ │   │ └── isarray@0.0.1
│ │ │   └── xtend@4.0.1
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@1.0.6
│ │ ├── string_decoder@0.10.31
│ │ ├─┬ unreachable-branch-transform@0.5.1
│ │ │ ├── esmangle-evaluator@1.0.0
│ │ │ └─┬ recast@0.11.5
│ │ │   ├── ast-types@0.8.16
│ │ │   ├── esprima@2.7.2
│ │ │   ├── private@0.1.6
│ │ │   └── source-map@0.5.3
│ │ └── util-deprecate@1.0.2
│ ├── readdir-scoped-modules@1.0.2
│ ├── realize-package-specifier@3.0.3
│ ├─┬ request@2.72.0
│ │ ├── aws-sign2@0.6.0
│ │ ├─┬ aws4@1.3.2
│ │ │ └─┬ lru-cache@4.0.1
│ │ │   ├── pseudomap@1.0.2
│ │ │   └── yallist@2.0.0
│ │ ├─┬ bl@1.1.2
│ │ │ └─┬ readable-stream@2.0.6
│ │ │   ├── core-util-is@1.0.2
│ │ │   ├── isarray@1.0.0
│ │ │   ├── 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-rc4
│ │ │ └── async@1.5.2
│ │ ├─┬ har-validator@2.0.6
│ │ │ ├─┬ chalk@1.1.3
│ │ │ │ ├── ansi-styles@2.2.1
│ │ │ │ ├── escape-string-regexp@1.0.5
│ │ │ │ ├── has-ansi@2.0.0
│ │ │ │ └── supports-color@2.0.0
│ │ │ ├─┬ commander@2.9.0
│ │ │ │ └── graceful-readlink@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
│ │ │ │ └── xtend@4.0.1
│ │ │ └─┬ pinkie-promise@2.0.1
│ │ │   └── pinkie@2.0.4
│ │ ├─┬ 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.3
│ │ ├── 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@6.1.0
│ │ ├── stringstream@0.0.5
│ │ ├── tough-cookie@2.2.2
│ │ └── tunnel-agent@0.4.2
│ ├── retry@0.9.0
│ ├── rimraf@2.5.2
│ ├── semver@5.1.0
│ ├── sha@2.0.1
│ ├── slide@1.1.6
│ ├── sorted-object@2.0.0
│ ├── strip-ansi@3.0.1
│ ├─┬ tar@2.2.1
│ │ └── block-stream@0.0.8
│ ├── text-table@0.2.0
│ ├── uid-number@0.0.6
│ ├── umask@1.1.0
│ ├─┬ unique-filename@1.1.0
│ │ └── unique-slug@2.0.0
│ ├── unpipe@1.0.0
│ ├─┬ 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
│ │   └── spdx-license-ids@1.2.0
│ ├─┬ validate-npm-package-name@2.2.2
│ │ └── builtins@0.0.7
│ ├─┬ which@1.2.4
│ │ ├─┬ is-absolute@0.1.7
│ │ │ └── is-relative@0.1.3
│ │ └── isexe@1.1.1
│ ├── wrappy@1.0.1
│ └── write-file-atomic@1.1.4
├─┬ pm2@1.0.1
│ ├── async@1.5.2
│ ├─┬ 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
│ ├─┬ chokidar@1.4.2
│ │ ├─┬ anymatch@1.3.0
│ │ │ ├── arrify@1.0.1
│ │ │ └─┬ micromatch@2.3.7
│ │ │   ├─┬ arr-diff@2.0.0
│ │ │   │ └── arr-flatten@1.0.1
│ │ │   ├── array-unique@0.2.1
│ │ │   ├─┬ braces@1.8.3
│ │ │   │ ├─┬ expand-range@1.8.1
│ │ │   │ │ └─┬ fill-range@2.2.3
│ │ │   │ │   ├── is-number@2.1.0
│ │ │   │ │   ├─┬ isobject@2.0.0
│ │ │   │ │   │ └── isarray@0.0.1
│ │ │   │ │   ├── randomatic@1.1.5
│ │ │   │ │   └── repeat-string@1.5.2
│ │ │   │ ├── preserve@0.2.0
│ │ │   │ └── repeat-element@1.1.2
│ │ │   ├── expand-brackets@0.1.4
│ │ │   ├── extglob@0.3.2
│ │ │   ├── filename-regex@2.0.0
│ │ │   ├── is-extglob@1.0.0
│ │ │   ├─┬ kind-of@3.0.2
│ │ │   │ └── is-buffer@1.1.2
│ │ │   ├── normalize-path@2.0.1
│ │ │   ├─┬ object.omit@2.0.0
│ │ │   │ ├─┬ for-own@0.1.3
│ │ │   │ │ └── for-in@0.1.4
│ │ │   │ └── is-extendable@0.1.1
│ │ │   ├─┬ parse-glob@3.0.4
│ │ │   │ ├── glob-base@0.3.0
│ │ │   │ └── is-dotfile@1.0.2
│ │ │   └─┬ regex-cache@0.4.2
│ │ │     ├── is-equal-shallow@0.1.3
│ │ │     └── is-primitive@2.0.0
│ │ ├── async-each@0.1.6
│ │ ├── UNMET OPTIONAL DEPENDENCY fsevents@^1.0.0
│ │ ├── glob-parent@2.0.0
│ │ ├── inherits@2.0.1
│ │ ├─┬ is-binary-path@1.0.1
│ │ │ └── binary-extensions@1.4.0
│ │ ├─┬ is-glob@2.0.1
│ │ │ └── is-extglob@1.0.0
│ │ ├── path-is-absolute@1.0.0
│ │ └─┬ readdirp@2.0.0
│ │   ├── graceful-fs@4.1.3
│ │   ├─┬ minimatch@2.0.10
│ │   │ └─┬ brace-expansion@1.1.3
│ │   │   ├── balanced-match@0.3.0
│ │   │   └── concat-map@0.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
│ ├─┬ cli-table@0.3.1
│ │ └── colors@1.0.3
│ ├── coffee-script@1.10.0
│ ├─┬ commander@2.9.0
│ │ └── graceful-readlink@1.0.1
│ ├─┬ cron@1.1.0
│ │ └── moment-timezone@0.3.1
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── eventemitter2@0.4.14
│ ├── UNMET OPTIONAL DEPENDENCY ikt@git+http://ikt.pm2.io/ikt.git#master
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├── moment@2.11.2
│ ├─┬ nssocket@0.6.0
│ │ └── lazy@1.0.11
│ ├── pidusage@1.0.1
│ ├─┬ pm2-axon@2.0.9
│ │ ├── amp@0.3.1
│ │ ├── amp-message@0.1.2
│ │ ├── configurable@0.0.1
│ │ └── escape-regexp@0.0.1
│ ├─┬ pm2-axon-rpc@0.3.6
│ │ ├─┬ commander@1.0.5
│ │ │ └── keypress@0.1.0
│ │ └── json-stringify-safe@5.0.1
│ ├─┬ pm2-deploy@0.2.1
│ │ ├── async@1.4.2
│ │ └── tv4@1.0.18
│ ├─┬ pm2-multimeter@0.1.2
│ │ └── charm@0.1.2
│ ├─┬ pmx@0.5.9
│ │ └── json-stringify-safe@5.0.1
│ ├── semver@5.1.0
│ ├── shelljs@0.6.0
│ └─┬ vizion@0.2.12
│   └── async@0.9.0
└─┬ yo@1.7.0
  ├── async@1.5.2
  ├─┬ chalk@1.1.3
  │ ├── ansi-styles@2.2.1
  │ ├── escape-string-regexp@1.0.5
  │ ├── has-ansi@2.0.0
  │ ├── strip-ansi@3.0.1
  │ └── supports-color@2.0.0
  ├── cli-list@0.1.8
  ├─┬ configstore@1.4.0
  │ ├── graceful-fs@4.1.3
  │ ├─┬ mkdirp@0.5.1
  │ │ └── minimist@0.0.8
  │ ├── object-assign@4.1.0
  │ ├── os-tmpdir@1.0.1
  │ ├── osenv@0.1.3
  │ ├── uuid@2.0.2
  │ ├─┬ write-file-atomic@1.1.4
  │ │ ├── imurmurhash@0.1.4
  │ │ └── slide@1.1.6
  │ └── xdg-basedir@2.0.0
  ├─┬ cross-spawn-async@2.2.2
  │ ├─┬ lru-cache@4.0.1
  │ │ ├── pseudomap@1.0.2
  │ │ └── yallist@2.0.0
  │ └─┬ which@1.2.4
  │   ├─┬ is-absolute@0.1.7
  │   │ └── is-relative@0.1.3
  │   └── isexe@1.1.2
  ├── figures@1.5.0
  ├─┬ fullname@2.1.0
  │ ├─┬ npmconf@2.1.2
  │ │ ├─┬ config-chain@1.1.10
  │ │ │ └── proto-list@1.2.4
  │ │ ├── inherits@2.0.1
  │ │ ├── ini@1.3.4
  │ │ ├─┬ nopt@3.0.6
  │ │ │ └── abbrev@1.0.7
  │ │ ├─┬ once@1.3.3
  │ │ │ └── wrappy@1.0.1
  │ │ ├── semver@4.3.6
  │ │ └── uid-number@0.0.5
  │ ├── pify@2.3.0
  │ └─┬ pinkie-promise@2.0.1
  │   └── pinkie@2.0.4
  ├─┬ got@5.6.0
  │ ├─┬ create-error-class@3.0.2
  │ │ └── capture-stack-trace@1.0.0
  │ ├── duplexer2@0.1.4
  │ ├── is-plain-obj@1.1.0
  │ ├── is-redirect@1.0.0
  │ ├── is-retry-allowed@1.0.0
  │ ├── is-stream@1.1.0
  │ ├── lowercase-keys@1.0.0
  │ ├── node-status-codes@1.0.0
  │ ├─┬ parse-json@2.2.0
  │ │ └─┬ error-ex@1.3.0
  │ │   └── is-arrayish@0.2.1
  │ ├── read-all-stream@3.1.0
  │ ├─┬ readable-stream@2.1.2
  │ │ ├── core-util-is@1.0.2
  │ │ ├── isarray@1.0.0
  │ │ ├── process-nextick-args@1.0.6
  │ │ ├── string_decoder@0.10.31
  │ │ └── util-deprecate@1.0.2
  │ ├── timed-out@2.0.0
  │ ├── unzip-response@1.0.0
  │ └─┬ url-parse-lax@1.0.0
  │   └── prepend-http@1.0.3
  ├─┬ humanize-string@1.0.1
  │ └── decamelize@1.2.0
  ├─┬ inquirer@0.11.4
  │ ├── ansi-escapes@1.4.0
  │ ├── ansi-regex@2.0.0
  │ ├─┬ cli-cursor@1.0.2
  │ │ └─┬ restore-cursor@1.0.1
  │ │   └── exit-hook@1.1.1
  │ ├── cli-width@1.1.1
  │ ├─┬ 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
  │ └── through@2.3.8
  ├─┬ insight@0.7.0
  │ ├── inquirer@0.10.1
  │ ├─┬ lodash.debounce@3.1.1
  │ │ └── lodash._getnative@3.9.1
  │ ├─┬ os-name@1.0.3
  │ │ ├─┬ osx-release@1.1.0
  │ │ │ └── minimist@1.2.0
  │ │ └─┬ win-release@1.1.1
  │ │   └── semver@5.1.0
  │ ├─┬ request@2.72.0
  │ │ ├── aws-sign2@0.6.0
  │ │ ├── aws4@1.3.2
  │ │ ├─┬ bl@1.1.2
  │ │ │ └── readable-stream@2.0.6
  │ │ ├── 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-rc4
  │ │ ├─┬ har-validator@2.0.6
  │ │ │ ├─┬ commander@2.9.0
  │ │ │ │ └── graceful-readlink@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
  │ │ ├─┬ 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.8.3
  │ │ │   ├── asn1@0.2.3
  │ │ │   ├── assert-plus@1.0.0
  │ │ │   ├─┬ dashdash@1.13.1
  │ │ │   │ └── assert-plus@1.0.0
  │ │ │   ├── ecc-jsbn@0.1.1
  │ │ │   ├─┬ getpass@0.1.6
  │ │ │   │ └── assert-plus@1.0.0
  │ │ │   ├── jodid25519@1.0.2
  │ │ │   ├── jsbn@0.1.0
  │ │ │   └── tweetnacl@0.13.3
  │ │ ├── is-typedarray@1.0.0
  │ │ ├── isstream@0.1.2
  │ │ ├── json-stringify-safe@5.0.1
  │ │ ├─┬ mime-types@2.1.11
  │ │ │ └── mime-db@1.23.0
  │ │ ├── node-uuid@1.4.7
  │ │ ├── oauth-sign@0.8.1
  │ │ ├── qs@6.1.0
  │ │ ├── stringstream@0.0.5
  │ │ └── tunnel-agent@0.4.2
  │ └── tough-cookie@2.2.2
  ├── lodash@3.10.1
  ├─┬ meow@3.7.0
  │ ├─┬ camelcase-keys@2.1.0
  │ │ └── camelcase@2.1.1
  │ ├─┬ loud-rejection@1.3.0
  │ │ ├── array-find-index@1.0.1
  │ │ └── signal-exit@2.1.2
  │ ├── map-obj@1.0.1
  │ ├── minimist@1.2.0
  │ ├─┬ 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.1
  │ │   └─┬ spdx-expression-parse@1.0.2
  │ │     └── spdx-exceptions@1.0.4
  │ ├─┬ redent@1.0.0
  │ │ ├── indent-string@2.1.0
  │ │ └── strip-indent@1.0.1
  │ └── trim-newlines@1.0.0
  ├─┬ npm-keyword@4.2.0
  │ └── registry-url@3.1.0
  ├── opn@3.0.3
  ├─┬ package-json@2.3.2
  │ ├─┬ rc@1.1.6
  │ │ ├── deep-extend@0.4.1
  │ │ ├── minimist@1.2.0
  │ │ └── strip-json-comments@1.0.4
  │ └── semver@5.1.0
  ├─┬ read-pkg-up@1.0.1
  │ ├─┬ find-up@1.1.2
  │ │ └── path-exists@2.1.0
  │ └─┬ read-pkg@1.1.0
  │   ├─┬ load-json-file@1.1.0
  │   │ └─┬ strip-bom@2.0.0
  │   │   └── is-utf8@0.2.1
  │   └── path-type@1.1.0
  ├─┬ repeating@2.0.1
  │ └─┬ is-finite@1.0.1
  │   └── number-is-nan@1.0.0
  ├─┬ root-check@1.0.0
  │ ├─┬ downgrade-root@1.1.0
  │ │ ├── default-uid@1.0.0
  │ │ └── is-root@1.0.0
  │ └─┬ sudo-block@1.2.0
  │   └── is-docker@1.0.0
  ├─┬ sort-on@1.3.0
  │ ├── arrify@1.0.1
  │ └─┬ dot-prop@2.4.0
  │   └── is-obj@1.0.1
  ├── string-length@1.0.1
  ├── titleize@1.0.0
  ├─┬ update-notifier@0.6.3
  │ ├─┬ boxen@0.3.1
  │ │ ├── filled-array@1.1.0
  │ │ └── widest-line@1.0.0
  │ ├── configstore@2.0.0
  │ ├── is-npm@1.0.0
  │ ├── latest-version@2.0.0
  │ └─┬ semver-diff@2.1.0
  │   └── semver@5.1.0
  ├─┬ user-home@2.0.0
  │ └── os-homedir@1.0.1
  ├─┬ yeoman-character@1.1.0
  │ └─┬ supports-color@3.1.2
  │   └── has-flag@1.0.0
  ├─┬ yeoman-doctor@2.1.0
  │ ├─┬ bin-version-check@2.1.0
  │ │ ├─┬ bin-version@1.0.4
  │ │ │ └─┬ find-versions@1.2.1
  │ │ │   └── semver-regex@1.0.0
  │ │ ├── minimist@1.2.0
  │ │ └─┬ semver-truncate@1.1.0
  │ │   └── semver@5.1.0
  │ ├─┬ each-async@1.1.1
  │ │ ├── onetime@1.1.0
  │ │ └── set-immediate-shim@1.0.1
  │ ├── log-symbols@1.0.2
  │ ├── object-values@1.0.0
  │ ├── semver@5.1.0
  │ └─┬ twig@0.8.9
  │   ├─┬ minimatch@3.0.0
  │   │ └─┬ brace-expansion@1.1.4
  │   │   ├── balanced-match@0.4.1
  │   │   └── concat-map@0.0.1
  │   └─┬ walk@2.3.9
  │     └── foreachasync@3.0.0
  ├─┬ yeoman-environment@1.6.1
  │ ├─┬ debug@2.2.0
  │ │ └── ms@0.7.1
  │ ├── diff@2.2.2
  │ ├─┬ globby@4.0.0
  │ │ ├─┬ array-union@1.0.1
  │ │ │ └── array-uniq@1.0.2
  │ │ └─┬ glob@6.0.4
  │ │   ├── inflight@1.0.4
  │ │   └── path-is-absolute@1.0.0
  │ ├── grouped-queue@0.3.2
  │ ├─┬ inquirer@1.0.2
  │ │ ├── cli-width@2.1.0
  │ │ ├── mute-stream@0.0.6
  │ │ ├─┬ run-async@2.2.0
  │ │ │ └── is-promise@2.1.0
  │ │ └── rx@4.1.0
  │ ├── lodash@4.11.2
  │ ├─┬ mem-fs@1.1.2
  │ │ ├─┬ through2@2.0.1
  │ │ │ ├── readable-stream@2.0.6
  │ │ │ └── xtend@4.0.1
  │ │ ├─┬ vinyl@1.1.1
  │ │ │ ├── clone@1.0.2
  │ │ │ ├── clone-stats@0.0.1
  │ │ │ └── replace-ext@0.0.1
  │ │ └─┬ vinyl-file@1.3.0
  │ │   └─┬ strip-bom-stream@1.0.0
  │ │     └── first-chunk-stream@1.0.0
  │ ├── text-table@0.2.0
  │ └── untildify@2.1.0
  └─┬ yosay@1.1.1
    ├── pad-component@0.0.1
    ├─┬ taketalk@1.0.0
    │ ├── get-stdin@4.0.1
    │ └── minimist@1.2.0
    └── wrap-ansi@2.0.0
@TinajaLabs
Copy link
Author

Now I tried on a simple Digital Ocean droplet installing from a built-in nodejs distro on ubuntu 14.04.

I tried as root and as a generic user and got more or less the same results. Either there's something wrong with the application or I'm missing some fundamental steps.

I did just ran the commands as given in the documentation:

npm install -g yo generator-hubot

root@nodeout:~# npm install -g yo generator-hubot
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
/usr/bin/yo -> /usr/lib/node_modules/yo/lib/cli.js

> yo@1.7.0 postinstall /usr/lib/node_modules/yo
> yodoctor


Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✖ npm version

Your npm version is outdated.

Upgrade to the latest version by running:
npm install -g npm

✔ NODE_PATH matches the npm root

Found potential issues on your machine :(
generator-hubot@0.3.1 /usr/lib/node_modules/generator-hubot
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.5, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── yosay@0.3.0 (string-length@0.1.2, ansi-regex@0.2.1, ansi-styles@1.1.0, pad-component@0.0.1, word-wrap@0.1.3, minimist@0.2.0, strip-ansi@0.2.2, chalk@0.4.0, taketalk@0.1.1)
├── npm-name@1.2.0 (log-symbols@1.0.2, got@5.6.0, registry-url@3.1.0, meow@3.7.0)
└── yeoman-generator@0.17.7 (dargs@2.1.0, diff@1.4.0, isbinaryfile@2.0.4, async@0.9.2, underscore.string@2.4.0, mime@1.3.4, text-table@0.2.0, class-extend@0.1.2, lodash@2.4.2, nopt@3.0.6, debug@1.0.4, iconv-lite@0.4.13, cross-spawn@0.2.9, run-async@0.1.0, shelljs@0.3.0, mkdirp@0.5.1, glob@4.5.3, rimraf@2.5.2, file-utils@0.2.2, github-username@1.1.1, findup-sync@0.1.3, request@2.72.0, download@1.0.7, cheerio@0.17.0, gruntfile-editor@0.2.0, grouped-queue@0.3.2, inquirer@0.7.3)

yo@1.7.0 /usr/lib/node_modules/yo
├── cli-list@0.1.8
├── titleize@1.0.0
├── figures@1.5.0
├── async@1.5.2
├── humanize-string@1.0.1 (decamelize@1.2.0)
├── opn@3.0.3 (object-assign@4.1.0)
├── user-home@2.0.0 (os-homedir@1.0.1)
├── string-length@1.0.1 (strip-ansi@3.0.1)
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)
├── repeating@2.0.1 (is-finite@1.0.1)
├── root-check@1.0.0 (sudo-block@1.2.0, downgrade-root@1.1.0)
├── sort-on@1.3.0 (arrify@1.0.1, dot-prop@2.4.0)
├── yeoman-character@1.1.0 (supports-color@3.1.2)
├── yosay@1.1.1 (ansi-regex@2.0.0, strip-ansi@3.0.1, ansi-styles@2.2.1, wrap-ansi@2.0.0, pad-component@0.0.1, string-width@1.0.1, taketalk@1.0.0)
├── package-json@2.3.2 (registry-url@3.1.0, semver@5.1.0, rc@1.1.6)
├── got@5.6.0 (lowercase-keys@1.0.0, timed-out@2.0.0, is-redirect@1.0.0, is-retry-allowed@1.0.0, is-plain-obj@1.1.0, duplexer2@0.1.4, is-stream@1.1.0, read-all-stream@3.1.0, node-status-codes@1.0.0, unzip-response@1.0.0, object-assign@4.1.0, pinkie-promise@2.0.1, create-error-class@3.0.2, url-parse-lax@1.0.0, readable-stream@2.1.2, parse-json@2.2.0)
├── configstore@1.4.0 (os-tmpdir@1.0.1, object-assign@4.1.0, graceful-fs@4.1.3, xdg-basedir@2.0.0, uuid@2.0.2, osenv@0.1.3, write-file-atomic@1.1.4, mkdirp@0.5.1)
├── npm-keyword@4.2.0 (object-assign@4.1.0, pinkie-promise@2.0.1, registry-url@3.1.0)
├── cross-spawn-async@2.2.2 (lru-cache@4.0.1, which@1.2.4)
├── update-notifier@0.6.3 (is-npm@1.0.0, latest-version@2.0.0, semver-diff@2.1.0, boxen@0.3.1, configstore@2.0.0)
├── inquirer@0.11.4 (strip-ansi@3.0.1, ansi-regex@2.0.0, ansi-escapes@1.4.0, rx-lite@3.1.2, through@2.3.8, cli-width@1.1.1, string-width@1.0.1, readline2@1.0.1, cli-cursor@1.0.2, run-async@0.1.0)
├── fullname@2.1.0 (pify@2.3.0, pinkie-promise@2.0.1, npmconf@2.1.2)
├── meow@3.7.0 (map-obj@1.0.1, trim-newlines@1.0.0, decamelize@1.2.0, object-assign@4.1.0, minimist@1.2.0, camelcase-keys@2.1.0, redent@1.0.0, loud-rejection@1.3.0, normalize-package-data@2.3.5)
├── read-pkg-up@1.0.1 (find-up@1.1.2, read-pkg@1.1.0)
├── yeoman-doctor@2.1.0 (log-symbols@1.0.2, object-values@1.0.0, semver@5.1.0, each-async@1.1.1, bin-version-check@2.1.0, twig@0.8.9)
├── insight@0.7.0 (object-assign@4.1.0, tough-cookie@2.2.2, lodash.debounce@3.1.1, os-name@1.0.3, inquirer@0.10.1, request@2.72.0)
├── lodash@3.10.1
└── yeoman-environment@1.6.1 (escape-string-regexp@1.0.5, log-symbols@1.0.2, text-table@0.2.0, untildify@2.1.0, debug@2.2.0, diff@2.2.2, mem-fs@1.1.2, globby@4.0.0, grouped-queue@0.3.2, inquirer@1.0.2, lodash@4.11.2)
root@nodeout:~# npm install -g npm
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
npm@3.8.8 /usr/lib/node_modules/npm

So I ran npm install -g npm

Then:

mkdir myhubot
cd myhubot
yo hubot

Then as root:

root@nodeout:~/myhubot# yo hubot
/usr/lib/node_modules/yo/node_modules/configstore/index.js:53
                throw err;
                ^

Error: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json'
You don't have access to this file.

    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.create.all.get (/usr/lib/node_modules/yo/node_modules/configstore/index.js:34:26)
    at Object.Configstore (/usr/lib/node_modules/yo/node_modules/configstore/index.js:27:44)
    at new Insight (/usr/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)
    at Object.<anonymous> (/usr/lib/node_modules/yo/lib/cli.js:163:11)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)

How can root not have access to that file?

As a generic user:

kabaddi@nodeout:~/myhubot$ yo hubot
                     _____________________________
                    /                             \
   //\              |      Extracting input for    |
  ////\    _____    |   self-replication process   |
 //////\  /_____\   \                             /
 ======= |[^_/\_]|   /----------------------------
  |   | _|___@@__|__
  +===+/  ///     \_\
   | |_\ /// HUBOT/\\
   |___/\//      /  \\
         \      /   +---+
          \____/    |   |
           | //|    +===+
            \//      |xx|

? Owner User <user@example.com>
? Bot name myhubot
? Description A simple helpful robot for your Company
? Bot adapter (campfire)


/usr/lib/node_modules/yo/node_modules/rx/dist/rx.js:77
    throw e;
    ^
true

This happens on centos and on ubuntu - there's something in the instructions to which I am blind.

Please guide the blind...

Thanks,
Chris.

@TinajaLabs
Copy link
Author

BTW...

yo doctor

Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version
✔ NODE_PATH matches the npm root

Everything looks all right!

seems clear sailing...

@kyle-yu
Copy link

kyle-yu commented May 4, 2016

got same problem on my private server(CentOS 6.7 as well)

@eccentricyan
Copy link

same issue on Mac OS XのEl Capitan(10.11.3)

@akram-rameez
Copy link

I tried running it both on my local system and on a docker node:6.0.0 container, and I got both errors,

this on my system
image

this on a container with root
image

@nferro
Copy link

nferro commented May 5, 2016

I'm having the exact same problems. Tried on Mac El Capitan and Ubuntu 14.04

@JemarJones
Copy link

JemarJones commented May 5, 2016

Same issue here, El Capitan.

@JD-Hughes
Copy link

JD-Hughes commented May 5, 2016

Same here on Ubuntu 14.04, must be bug in most recent update of node or something, the generator has not been updated since January

@katagatame
Copy link

Same issue here, CentOS 7.

@xtheosx
Copy link

xtheosx commented May 5, 2016

same thing here ubuntu 14.04

@JemarJones
Copy link

@WhatAShot Maybe one of the dependencies has broken? Like with leftpad

@jfftonsic
Copy link

same thing here, ubuntu 14.04

@kbot7
Copy link

kbot7 commented May 5, 2016

Same issue, Windows Server 2012 R2

@olexiy
Copy link

olexiy commented May 5, 2016

yo hubot --defaults works.

@TinajaLabs
Copy link
Author

sadly, not for me:

root@nodeout:/opt/jack# yo hubot --defaults
/usr/lib/node_modules/yo/node_modules/configstore/index.js:53
                throw err;
                ^

Error: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json'
You don't have access to this file.

    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.create.all.get (/usr/lib/node_modules/yo/node_modules/configstore/index.js:34:26)
    at Object.Configstore (/usr/lib/node_modules/yo/node_modules/configstore/index.js:27:44)
    at new Insight (/usr/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)
    at Object.<anonymous> (/usr/lib/node_modules/yo/lib/cli.js:163:11)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)

@TinajaLabs
Copy link
Author

There is something fundamentally wrong and I wish an expert would chime in here and set us straight about what we're all doing wrong. I'll bet it's something simple... or else there would be a lot of discouraged hubot users out there. ;)

@JemarJones
Copy link

The --defaults workaround worked for me.

@kagemiku
Copy link

kagemiku commented May 6, 2016

The following command worked on my mac.

yo hubot --owner="OWNER <owner@example.com>" --name="TestBot" --description="Test Bot" --adapter=slack
  • Mac OSX ElCapitan 10.11.4
  • node v6.0.0
  • npm 3.8.6
  • yo 1.7.1
  • hubot 2.18.0

@akram-rameez
Copy link

Above solution worked for me too.

@xtheosx
Copy link

xtheosx commented May 6, 2016

Not for me

@FarzadHashemi
Copy link

same

@jfftonsic
Copy link

The --defaults option worked for me...
On May 6, 2016 12:59, "Farzad Hashemi" notifications@github.com wrote:

same


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1180 (comment)

@katagatame
Copy link

katagatame commented May 6, 2016

yo hubot --defaults

worked for me.

@TinajaLabs
Copy link
Author

for those who used the --defaults option, what OS and are you using sudo? or logged in as root?

Thanks.

@FarzadHashemi
Copy link

yo hubot --defaults gives me:

/usr/lib/node_modules/generator-hubot/node_modules/mkdirp/index.js:90
throw err0;
^

Error: EACCES: permission denied, mkdir '/root/hubot/bin'
at Error (native)
at Object.fs.mkdirSync (fs.js:916:18)
at Function.sync (/usr/lib/node_modules/generator-hubot/node_modules/mkdirp/index.js:71:13)
at yeoman.generators.Base.extend.writing.app (/usr/lib/node_modules/generator-hubot/generators/app/index.js:247:12)
at /usr/lib/node_modules/generator-hubot/node_modules/yeoman-generator/lib/base.js:395:14
at tryOnImmediate (timers.js:543:15)
at processImmediate as _immediateCallback

after chmod 777 hubot/ I get:

npm ERR! Linux 3.13.0-85-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "hubot" "hubot-scripts" "hubot-diagnostics" "hubot-help" "hubot-heroku-keepalive" "hubot-google-images" "hubot-google-translate" "hubot-pugme" "hubot-maps" "hubot-redis-brain" "hubot-rules" "hubot-shipit" "--save"
npm ERR! node v6.1.0
npm ERR! npm v3.8.6
npm ERR! code ENOSELF

npm ERR! Refusing to install hubot as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /root/hubot/npm-debug.log

@jfftonsic
Copy link

I'm running on ubuntu 14.04 without sudo I guess. I'd pass the versions of
nodejs etc, but can't, not at work on weekend :P
On May 7, 2016 14:01, "Farzad Hashemi" notifications@github.com wrote:

yo hubot --defaults gives me:

/usr/lib/node_modules/generator-hubot/node_modules/mkdirp/index.js:90
throw err0;
^

Error: EACCES: permission denied, mkdir '/root/hubot/bin'
at Error (native)
at Object.fs.mkdirSync (fs.js:916:18)
at Function.sync
(/usr/lib/node_modules/generator-hubot/node_modules/mkdirp/index.js:71:13)
at yeoman.generators.Base.extend.writing.app
(/usr/lib/node_modules/generator-hubot/generators/app/index.js:247:12)
at
/usr/lib/node_modules/generator-hubot/node_modules/yeoman-generator/lib/base.js:395:14
at tryOnImmediate (timers.js:543:15)
at processImmediate as _immediateCallback

after chmod 777 hubot/ I get:

npm ERR! Linux 3.13.0-85-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "hubot"
"hubot-scripts" "hubot-diagnostics" "hubot-help" "hubot-heroku-keepalive"
"hubot-google-images" "hubot-google-translate" "hubot-pugme" "hubot-maps"
"hubot-redis-brain" "hubot-rules" "hubot-shipit" "--save"
npm ERR! node v6.1.0
npm ERR! npm v3.8.6
npm ERR! code ENOSELF

npm ERR! Refusing to install hubot as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /root/hubot/npm-debug.log


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1180 (comment)

@katagatame
Copy link

katagatame commented May 9, 2016

for those who used the --defaults option, what OS and are you using sudo? or logged in as root?

Thanks.

CentOS Linux release 7.2.1511 (Core)
Administrator user, not root. No sudo, just ... yo hubot --defaults

hope this helps.

@timhuff
Copy link

timhuff commented May 10, 2016

yo hubot --defaults worked for me. Running OSX El Capitan. No sudo. But I'm trying to install this as a slack integration and the default is campfire. Ran yo hubot --owner="Owner Name <owner@example.com>" --name="Hubot" --description="Some Description" --adapter=slack (no sudo) and that worked.

@sylvesterjakubowski
Copy link

Just recently defaults worked on ubuntu, but did not work on centos, the inline commands did work on centos. Also had logged:

#1178

@BenLeroy
Copy link

Inline command worked fine on Ubuntu 15.10 👍

@watermelonbandit
Copy link

watermelonbandit commented May 17, 2016

For those who countinue to get the permission error: `Error: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json'
You don't have access to this file.

at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at Object.create.all.get (/usr/lib/node_modules/yo/node_modules/configstore/index.js:34:26)
at Object.Configstore (/usr/lib/node_modules/yo/node_modules/configstore/index.js:27:44)
at new Insight (/usr/lib/node_modules/yo/node_modules/insight/lib/index.js:37:34)
at Object.<anonymous> (/usr/lib/node_modules/yo/lib/cli.js:163:11)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)`

Run these commands:
echo prefix = ~/.node >> ~/.npmrc
export PATH=$HOME/.node/bin:$PATH
This is simply yo trying to get permissions to a file that doesn't exist yet.

@namexuhuan
Copy link

uhuanx

@albertgu2016
Copy link

change /usr/lib/node_modules/yo/node_modules/configstore/index.js writeFileOptions variable from security 0600 to 0777 and save it. Then yo hubot will be OK.

This is the issue of no access to insight-yo.json

@stale
Copy link

stale bot commented Dec 4, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 4, 2017
@stale stale bot closed this as completed Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests