Skip to content

Instantly share code, notes, and snippets.

@tjohnson4
Created July 14, 2016 18:17
Show Gist options
  • Save tjohnson4/b09e01d9891842531b6b123f59ec470d to your computer and use it in GitHub Desktop.
Save tjohnson4/b09e01d9891842531b6b123f59ec470d to your computer and use it in GitHub Desktop.
➜ test npm install -g npm@latest
/Users/toddjohnson/npm/bin/npm -> /Users/toddjohnson/npm/lib/node_modules/npm/bin/npm-cli.js
npm@3.10.5 /Users/toddjohnson/npm/lib/node_modules/npm
➜ test npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for definitive documentation on these fields
and exactly what they do.
Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "init"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'spdx'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
About to write to /Users/toddjohnson/Documents/playground/test/package.json:
{
"name": "",
"version": ""
}
Is this ok? (yes) Aborted.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/toddjohnson/Documents/playground/test/npm-debug.log
➜ test npm cache clean
➜ test curl -L https://www.npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 51 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
100 6263 100 6263 0 0 613 0 0:00:10 0:00:10 --:--:-- 1569
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
install npm@latest
fetching: http://registry.npmjs.org/npm/-/npm-3.10.5.tgz
- abbrev@1.0.9 node_modules/npm/node_modules/abbrev
- ansi-regex@2.0.0 node_modules/npm/node_modules/ansi-regex
- aproba@1.0.4 node_modules/npm/node_modules/aproba
- asap@2.0.4 node_modules/npm/node_modules/asap
- chownr@1.0.1 node_modules/npm/node_modules/chownr
- clone@1.0.2 node_modules/npm/node_modules/columnify/node_modules/wcwidth/node_modules/defaults/node_modules/clone
- defaults@1.0.3 node_modules/npm/node_modules/columnify/node_modules/wcwidth/node_modules/defaults
- wcwidth@1.0.0 node_modules/npm/node_modules/columnify/node_modules/wcwidth
- proto-list@1.2.4 node_modules/npm/node_modules/config-chain/node_modules/proto-list
- debuglog@1.0.1 node_modules/npm/node_modules/debuglog
- balanced-match@0.4.1 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.4 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.0 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch
- fs.realpath@1.0.0 node_modules/npm/node_modules/glob/node_modules/fs.realpath
- balanced-match@0.4.1 node_modules/npm/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.5 node_modules/npm/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.0 node_modules/npm/node_modules/glob/node_modules/minimatch
- path-is-absolute@1.0.0 node_modules/npm/node_modules/glob/node_modules/path-is-absolute
- graceful-fs@4.1.4 node_modules/npm/node_modules/graceful-fs
- has-unicode@2.0.1 node_modules/npm/node_modules/has-unicode
- hosted-git-info@2.1.5 node_modules/npm/node_modules/hosted-git-info
- iferr@0.1.5 node_modules/npm/node_modules/iferr
- imurmurhash@0.1.4 node_modules/npm/node_modules/imurmurhash
- inherits@2.0.1 node_modules/npm/node_modules/inherits
- ini@1.3.4 node_modules/npm/node_modules/ini
- balanced-match@0.4.1 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.4 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.0 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch
- path-is-absolute@1.0.0 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/path-is-absolute
- lodash._createset@4.0.3 node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._createset
- lodash._root@3.0.1 node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._root
- lodash._baseuniq@4.6.0 node_modules/npm/node_modules/lodash._baseuniq
- lodash._getnative@3.9.1 node_modules/npm/node_modules/lodash._getnative
- lodash._baseclone@4.5.3 node_modules/npm/node_modules/lodash.clonedeep/node_modules/lodash._baseclone
- lodash._baseflatten@4.2.1 node_modules/npm/node_modules/lodash.union/node_modules/lodash._baseflatten
- lodash.rest@4.0.3 node_modules/npm/node_modules/lodash.union/node_modules/lodash.rest
- lodash._root@3.0.1 node_modules/npm/node_modules/lodash.without/node_modules/lodash._basedifference/node_modules/lodash._root
- lodash._basedifference@4.5.0 node_modules/npm/node_modules/lodash.without/node_modules/lodash._basedifference
- lodash.rest@4.0.3 node_modules/npm/node_modules/lodash.without/node_modules/lodash.rest
- minimist@0.0.8 node_modules/npm/node_modules/mkdirp/node_modules/minimist
- mkdirp@0.5.1 node_modules/npm/node_modules/mkdirp
- balanced-match@0.4.1 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.5 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.2 node_modules/npm/node_modules/node-gyp/node_modules/minimatch
- ms@0.7.1 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms
- debug@2.2.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug
- es6-iterator@2.0.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/node_modules/es6-iterator
- es5-ext@0.10.12 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext
- d@0.1.1 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/d
- es6-symbol@3.1.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol
- array-index@1.0.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index
- path-array@1.0.1 node_modules/npm/node_modules/node-gyp/node_modules/path-array
- nopt@3.0.6 node_modules/npm/node_modules/nopt
- builtin-modules@1.1.1 node_modules/npm/node_modules/normalize-package-data/node_modules/is-builtin-module/node_modules/builtin-modules
- is-builtin-module@1.0.0 node_modules/npm/node_modules/normalize-package-data/node_modules/is-builtin-module
- core-util-is@1.0.2 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.6 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream
- typedarray@0.0.6 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray
- concat-stream@1.5.1 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream
- retry@0.8.0 node_modules/npm/node_modules/npm-registry-client/node_modules/retry
- delegates@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
- console-control-strings@1.1.0 node_modules/npm/node_modules/npmlog/node_modules/console-control-strings
- has-color@0.1.7 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/has-color
- object-assign@4.1.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/object-assign
- signal-exit@3.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit
- number-is-nan@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan
- code-point-at@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at
- number-is-nan@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- is-fullwidth-code-point@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point
- set-blocking@2.0.0 node_modules/npm/node_modules/npmlog/node_modules/set-blocking
- os-homedir@1.0.1 node_modules/npm/node_modules/osenv/node_modules/os-homedir
- os-tmpdir@1.0.1 node_modules/npm/node_modules/osenv/node_modules/os-tmpdir
- osenv@0.1.3 node_modules/npm/node_modules/osenv
- path-is-inside@1.0.1 node_modules/npm/node_modules/path-is-inside
- util-extend@1.0.3 node_modules/npm/node_modules/read-installed/node_modules/util-extend
- balanced-match@0.3.0 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.3 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.0 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch
- path-is-absolute@1.0.0 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/path-is-absolute
- jju@1.3.0 node_modules/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju
- json-parse-helpfulerror@1.0.3 node_modules/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror
- mute-stream@0.0.5 node_modules/npm/node_modules/read/node_modules/mute-stream
- read@1.0.7 node_modules/npm/node_modules/read
- promzard@0.3.0 node_modules/npm/node_modules/init-package-json/node_modules/promzard
- buffer-shims@1.0.0 node_modules/npm/node_modules/readable-stream/node_modules/buffer-shims
- core-util-is@1.0.2 node_modules/npm/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.1.4 node_modules/npm/node_modules/readable-stream
- are-we-there-yet@1.1.2 node_modules/npm/node_modules/npmlog/node_modules/are-we-there-yet
- aws-sign2@0.6.0 node_modules/npm/node_modules/request/node_modules/aws-sign2
- pseudomap@1.0.2 node_modules/npm/node_modules/request/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap
- yallist@2.0.0 node_modules/npm/node_modules/request/node_modules/aws4/node_modules/lru-cache/node_modules/yallist
- lru-cache@4.0.1 node_modules/npm/node_modules/request/node_modules/aws4/node_modules/lru-cache
- aws4@1.3.2 node_modules/npm/node_modules/request/node_modules/aws4
- core-util-is@1.0.2 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.6 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.6 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream
- bl@1.1.2 node_modules/npm/node_modules/request/node_modules/bl
- caseless@0.11.0 node_modules/npm/node_modules/request/node_modules/caseless
- delayed-stream@1.0.0 node_modules/npm/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream
- combined-stream@1.0.5 node_modules/npm/node_modules/request/node_modules/combined-stream
- extend@3.0.0 node_modules/npm/node_modules/request/node_modules/extend
- forever-agent@0.6.1 node_modules/npm/node_modules/request/node_modules/forever-agent
- async@1.5.2 node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async
- ansi-styles@2.2.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles
- escape-string-regexp@1.0.5 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp
- has-ansi@2.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi
- supports-color@2.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color
- graceful-readlink@1.0.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink
- commander@2.9.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/commander
- generate-function@2.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function
- is-property@1.0.2 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property
- generate-object-property@1.2.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property
- jsonpointer@2.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer
- xtend@4.0.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend
- is-my-json-valid@2.13.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid
- pinkie@2.0.4 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie
- pinkie-promise@2.0.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise
- hoek@2.16.3 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek
- boom@2.10.1 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom
- cryptiles@2.0.5 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles
- sntp@1.0.9 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp
- hawk@3.1.3 node_modules/npm/node_modules/request/node_modules/hawk
- assert-plus@0.2.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus
- extsprintf@1.0.2 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf
- json-schema@0.2.2 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema
- verror@1.3.6 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror
- jsprim@1.2.2 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim
- asn1@0.2.3 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1
- assert-plus@1.0.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/node_modules/assert-plus
- dashdash@1.13.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash
- jsbn@0.1.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn
- ecc-jsbn@0.1.1 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn
- jodid25519@1.0.2 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519
- tweetnacl@0.14.3 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl
- sshpk@1.7.4 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk
- http-signature@1.1.1 node_modules/npm/node_modules/request/node_modules/http-signature
- is-typedarray@1.0.0 node_modules/npm/node_modules/request/node_modules/is-typedarray
- isstream@0.1.2 node_modules/npm/node_modules/request/node_modules/isstream
- json-stringify-safe@5.0.1 node_modules/npm/node_modules/request/node_modules/json-stringify-safe
- mime-db@1.22.0 node_modules/npm/node_modules/request/node_modules/mime-types/node_modules/mime-db
- mime-types@2.1.10 node_modules/npm/node_modules/request/node_modules/mime-types
- form-data@1.0.0-rc4 node_modules/npm/node_modules/request/node_modules/form-data
- node-uuid@1.4.7 node_modules/npm/node_modules/request/node_modules/node-uuid
- oauth-sign@0.8.1 node_modules/npm/node_modules/request/node_modules/oauth-sign
- qs@6.1.0 node_modules/npm/node_modules/request/node_modules/qs
- stringstream@0.0.5 node_modules/npm/node_modules/request/node_modules/stringstream
- tough-cookie@2.2.2 node_modules/npm/node_modules/request/node_modules/tough-cookie
- tunnel-agent@0.4.2 node_modules/npm/node_modules/request/node_modules/tunnel-agent
- semver@5.1.0 node_modules/npm/node_modules/semver
- npm-package-arg@4.2.0 node_modules/npm/node_modules/npm-package-arg
- slide@1.1.6 node_modules/npm/node_modules/slide
- strip-ansi@3.0.1 node_modules/npm/node_modules/strip-ansi
- string-width@1.0.1 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width
- wide-align@1.1.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/wide-align
- gauge@2.6.0 node_modules/npm/node_modules/npmlog/node_modules/gauge
- npmlog@3.1.2 node_modules/npm/node_modules/npmlog
- chalk@1.1.3 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk
- har-validator@2.0.6 node_modules/npm/node_modules/request/node_modules/har-validator
- request@2.72.0 node_modules/npm/node_modules/request
- block-stream@0.0.8 node_modules/npm/node_modules/tar/node_modules/block-stream
- unique-slug@2.0.0 node_modules/npm/node_modules/unique-filename/node_modules/unique-slug
- spdx-license-ids@1.2.0 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/node_modules/spdx-license-ids
- spdx-correct@1.0.2 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct
- spdx-exceptions@1.0.4 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/node_modules/spdx-exceptions
- spdx-license-ids@1.2.0 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/node_modules/spdx-license-ids
- spdx-expression-parse@1.0.2 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse
- validate-npm-package-license@3.0.1 node_modules/npm/node_modules/validate-npm-package-license
- normalize-package-data@2.3.5 node_modules/npm/node_modules/normalize-package-data
- builtins@0.0.7 node_modules/npm/node_modules/validate-npm-package-name/node_modules/builtins
- validate-npm-package-name@2.2.2 node_modules/npm/node_modules/validate-npm-package-name
- isexe@1.1.2 node_modules/npm/node_modules/which/node_modules/isexe
- which@1.2.10 node_modules/npm/node_modules/which
- wrappy@1.0.2 node_modules/npm/node_modules/wrappy
- dezalgo@1.0.3 node_modules/npm/node_modules/dezalgo
- once@1.3.3 node_modules/npm/node_modules/once
- inflight@1.0.5 node_modules/npm/node_modules/inflight
- glob@7.0.4 node_modules/npm/node_modules/glob
- rimraf@2.5.2 node_modules/npm/node_modules/rimraf
- fstream@1.0.10 node_modules/npm/node_modules/fstream
- fstream-ignore@1.0.5 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore
- tar@2.2.1 node_modules/npm/node_modules/tar
- glob@6.0.4 node_modules/npm/node_modules/init-package-json/node_modules/glob
- glob@6.0.4 node_modules/npm/node_modules/read-package-json/node_modules/glob
- read-package-json@2.0.4 node_modules/npm/node_modules/read-package-json
- readdir-scoped-modules@1.0.2 node_modules/npm/node_modules/readdir-scoped-modules
- ansicolors@0.3.2 node_modules/npm/node_modules/ansicolors
- ansistyles@0.1.3 node_modules/npm/node_modules/ansistyles
- archy@1.0.0 node_modules/npm/node_modules/archy
- cmd-shim@2.0.2 node_modules/npm/node_modules/cmd-shim
- columnify@1.5.4 node_modules/npm/node_modules/columnify
- config-chain@1.1.10 node_modules/npm/node_modules/config-chain
- editor@1.0.0 node_modules/npm/node_modules/editor
- fs-vacuum@1.2.9 node_modules/npm/node_modules/fs-vacuum
- fs-write-stream-atomic@1.0.8 node_modules/npm/node_modules/fs-write-stream-atomic
- fstream-npm@1.1.0 node_modules/npm/node_modules/fstream-npm
- init-package-json@1.9.4 node_modules/npm/node_modules/init-package-json
- lockfile@1.0.1 node_modules/npm/node_modules/lockfile
- lodash._baseindexof@3.1.0 node_modules/npm/node_modules/lodash._baseindexof
- lodash._bindcallback@3.0.1 node_modules/npm/node_modules/lodash._bindcallback
- lodash._cacheindexof@3.0.2 node_modules/npm/node_modules/lodash._cacheindexof
- lodash._createcache@3.1.2 node_modules/npm/node_modules/lodash._createcache
- lodash.clonedeep@4.3.2 node_modules/npm/node_modules/lodash.clonedeep
- lodash.restparam@3.6.1 node_modules/npm/node_modules/lodash.restparam
- lodash.union@4.4.0 node_modules/npm/node_modules/lodash.union
- lodash.uniq@4.3.0 node_modules/npm/node_modules/lodash.uniq
- lodash.without@4.2.0 node_modules/npm/node_modules/lodash.without
- node-gyp@3.4.0 node_modules/npm/node_modules/node-gyp
- normalize-git-url@3.0.2 node_modules/npm/node_modules/normalize-git-url
- npm-cache-filename@1.0.2 node_modules/npm/node_modules/npm-cache-filename
- npm-install-checks@3.0.0 node_modules/npm/node_modules/npm-install-checks
- npm-registry-client@7.1.2 node_modules/npm/node_modules/npm-registry-client
- npm-user-validate@0.1.4 node_modules/npm/node_modules/npm-user-validate
- opener@1.4.1 node_modules/npm/node_modules/opener
- read-cmd-shim@1.0.1 node_modules/npm/node_modules/read-cmd-shim
- read-installed@4.0.3 node_modules/npm/node_modules/read-installed
- read-package-tree@5.1.5 node_modules/npm/node_modules/read-package-tree
- realize-package-specifier@3.0.3 node_modules/npm/node_modules/realize-package-specifier
- retry@0.9.0 node_modules/npm/node_modules/retry
- sha@2.0.1 node_modules/npm/node_modules/sha
- sorted-object@2.0.0 node_modules/npm/node_modules/sorted-object
- text-table@0.2.0 node_modules/npm/node_modules/text-table
- uid-number@0.0.6 node_modules/npm/node_modules/uid-number
- umask@1.1.0 node_modules/npm/node_modules/umask
- unique-filename@1.1.0 node_modules/npm/node_modules/unique-filename
- unpipe@1.0.0 node_modules/npm/node_modules/unpipe
- write-file-atomic@1.1.4 node_modules/npm/node_modules/write-file-atomic
- npm@3.10.5 node_modules/npm
> npm@3.10.5 prepublish /private/var/folders/45/y2752rld3_d2_pp82bkwxb_40000gn/T/npm.1279/package
> node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make doc-clean && make -j4 doc
sh: rimraf: command not found
/Users/toddjohnson/npm/bin/npm -> /Users/toddjohnson/npm/lib/node_modules/npm/bin/npm-cli.js
/Users/toddjohnson/npm/lib
└─┬ npm@3.10.5
├── abbrev@1.0.9
├── ansi-regex@2.0.0
├── ansicolors@0.3.2
├── ansistyles@0.1.3
├── aproba@1.0.4
├── archy@1.0.0
├── asap@2.0.4
├── 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
├── editor@1.0.0
├── fs-vacuum@1.2.9
├── fs-write-stream-atomic@1.0.8
├── fstream@1.0.10
├─┬ fstream-npm@1.1.0
│ └─┬ fstream-ignore@1.0.5
│ └─┬ minimatch@3.0.0
│ └─┬ brace-expansion@1.1.4
│ ├── balanced-match@0.4.1
│ └── concat-map@0.0.1
├─┬ glob@7.0.4
│ ├── fs.realpath@1.0.0
│ ├─┬ minimatch@3.0.0
│ │ └─┬ brace-expansion@1.1.5
│ │ ├── balanced-match@0.4.1
│ │ └── concat-map@0.0.1
│ └── path-is-absolute@1.0.0
├── graceful-fs@4.1.4
├── has-unicode@2.0.1
├── hosted-git-info@2.1.5
├── iferr@0.1.5
├── imurmurhash@0.1.4
├── inflight@1.0.5
├── inherits@2.0.1
├── ini@1.3.4
├─┬ init-package-json@1.9.4
│ ├─┬ glob@6.0.4
│ │ ├─┬ minimatch@3.0.0
│ │ │ └─┬ brace-expansion@1.1.4
│ │ │ ├── balanced-match@0.4.1
│ │ │ └── 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.6.0
│ ├── lodash._createset@4.0.3
│ └── lodash._root@3.0.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.restparam@3.6.1
├─┬ lodash.union@4.4.0
│ ├── lodash._baseflatten@4.2.1
│ └── lodash.rest@4.0.3
├── lodash.uniq@4.3.0
├─┬ lodash.without@4.2.0
│ ├─┬ lodash._basedifference@4.5.0
│ │ └── lodash._root@3.0.1
│ └── lodash.rest@4.0.3
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ node-gyp@3.4.0
│ ├─┬ minimatch@3.0.2
│ │ └─┬ brace-expansion@1.1.5
│ │ ├── balanced-match@0.4.1
│ │ └── concat-map@0.0.1
│ └─┬ path-array@1.0.1
│ └─┬ array-index@1.0.0
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ └─┬ es6-symbol@3.1.0
│ ├── d@0.1.1
│ └─┬ es5-ext@0.10.12
│ └── 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.2.0
├─┬ npm-registry-client@7.1.2
│ ├─┬ 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.7
│ │ │ ├── string_decoder@0.10.31
│ │ │ └── util-deprecate@1.0.2
│ │ └── typedarray@0.0.6
│ └── retry@0.8.0
├── npm-user-validate@0.1.4
├─┬ npmlog@3.1.2
│ ├─┬ are-we-there-yet@1.1.2
│ │ └── delegates@1.0.0
│ ├── console-control-strings@1.1.0
│ ├─┬ gauge@2.6.0
│ │ ├── has-color@0.1.7
│ │ ├── object-assign@4.1.0
│ │ ├── signal-exit@3.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
│ │ └── wide-align@1.1.0
│ └── set-blocking@2.0.0
├── 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.4
│ ├─┬ 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.3.0
├── read-package-tree@5.1.5
├─┬ readable-stream@2.1.4
│ ├── buffer-shims@1.0.0
│ ├── core-util-is@1.0.2
│ ├── isarray@1.0.0
│ ├── process-nextick-args@1.0.7
│ ├── string_decoder@0.10.31
│ └── 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.10
│ └── isexe@1.1.2
├── wrappy@1.0.2
└── write-file-atomic@1.1.4
It worked
➜ test npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for definitive documentation on these fields
and exactly what they do.
Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "init"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'spdx'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
About to write to /Users/toddjohnson/Documents/playground/test/package.json:
{
"name": "",
"version": ""
}
Is this ok? (yes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment