Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Make NpmRestore less noisy #972

Closed
Closed

Description

@pranavkm

Universe builds now have tons of spew from the npm install invoked as part of the NpmRestore target (https://gist.github.com/pranavkm/a513a3e643330fa38a7e48ad94a44ed0). We've used --quiet --depth 0 in the past (which is still pretty noisy) and --silent which is quieter.

Activity

  1. pranavkm commented on May 24, 2017

    @pranavkm
    ContributorAuthor

    Thanks!

  2. SteveSandersonMS commented on May 24, 2017

    @SteveSandersonMS
    Member

    OK, I've added --silent.

    But I'm not sure it's going to have the effect you want right now. According to both my tests and this thread, NPM 4 (current version) contains a bug whereby it continues to emit the summary tree, no matter what options you pass. It should be fixed in NPM v5 which is to be released at the end of this month.

  3. pranavkm commented on May 24, 2017

    @pranavkm
    ContributorAuthor

    Oh well 😞 . v5 seems quiet by default (npm/npm#15914) which is nice

  4. pranavkm commented on May 24, 2017

    @pranavkm
    ContributorAuthor

    It's actually much better than the 4k lines of output that we previously had:

    [08:07:17]	[Step 3/4]     nodeservicesexamples@0.0.0 C:\b\w\474ea01f936dbe26\.r\JavaScriptServices\samples\misc\NodeServicesExamples
    [08:07:17]	[Step 3/4]     +-- babel-core@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-code-frame@6.22.0 
    [08:07:17]	[Step 3/4]     | | +-- chalk@1.1.3 
    [08:07:17]	[Step 3/4]     | | | +-- ansi-styles@2.2.1 
    [08:07:17]	[Step 3/4]     | | | +-- escape-string-regexp@1.0.5 
    [08:07:17]	[Step 3/4]     | | | +-- has-ansi@2.0.0 
    [08:07:17]	[Step 3/4]     | | | | `-- ansi-regex@2.1.1 
    [08:07:17]	[Step 3/4]     | | | +-- strip-ansi@3.0.1 
    [08:07:17]	[Step 3/4]     | | | `-- supports-color@2.0.0 
    [08:07:17]	[Step 3/4]     | | +-- esutils@2.0.2 
    [08:07:17]	[Step 3/4]     | | `-- js-tokens@3.0.1 
    [08:07:17]	[Step 3/4]     | +-- babel-generator@6.24.1 
    [08:07:17]	[Step 3/4]     | | +-- detect-indent@4.0.0 
    [08:07:17]	[Step 3/4]     | | | `-- repeating@2.0.1 
    [08:07:17]	[Step 3/4]     | | |   `-- is-finite@1.0.2 
    [08:07:17]	[Step 3/4]     | | |     `-- number-is-nan@1.0.1 
    [08:07:17]	[Step 3/4]     | | +-- jsesc@1.3.0 
    [08:07:17]	[Step 3/4]     | | `-- trim-right@1.0.1 
    [08:07:17]	[Step 3/4]     | +-- babel-helpers@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-messages@6.23.0 
    [08:07:17]	[Step 3/4]     | +-- babel-register@6.24.1 
    [08:07:17]	[Step 3/4]     | | +-- core-js@2.4.1 
    [08:07:17]	[Step 3/4]     | | +-- home-or-tmp@2.0.0 
    [08:07:17]	[Step 3/4]     | | | +-- os-homedir@1.0.2 
    [08:07:17]	[Step 3/4]     | | | `-- os-tmpdir@1.0.2 
    [08:07:17]	[Step 3/4]     | | +-- mkdirp@0.5.1 
    [08:07:17]	[Step 3/4]     | | | `-- minimist@0.0.8 
    [08:07:17]	[Step 3/4]     | | `-- source-map-support@0.4.15 
    [08:07:17]	[Step 3/4]     | +-- babel-runtime@6.23.0 
    [08:07:17]	[Step 3/4]     | | `-- regenerator-runtime@0.10.5 
    [08:07:17]	[Step 3/4]     | +-- babel-template@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-traverse@6.24.1 
    [08:07:17]	[Step 3/4]     | | +-- globals@9.17.0 
    [08:07:17]	[Step 3/4]     | | `-- invariant@2.2.2 
    [08:07:17]	[Step 3/4]     | |   `-- loose-envify@1.3.1 
    [08:07:17]	[Step 3/4]     | +-- babel-types@6.24.1 
    [08:07:17]	[Step 3/4]     | | `-- to-fast-properties@1.0.3 
    [08:07:17]	[Step 3/4]     | +-- babylon@6.17.1 
    [08:07:17]	[Step 3/4]     | +-- convert-source-map@1.5.0 
    [08:07:17]	[Step 3/4]     | +-- debug@2.6.8 
    [08:07:17]	[Step 3/4]     | | `-- ms@2.0.0 
    [08:07:17]	[Step 3/4]     | +-- json5@0.5.1 
    [08:07:17]	[Step 3/4]     | +-- lodash@4.17.4 
    [08:07:17]	[Step 3/4]     | +-- minimatch@3.0.4 
    [08:07:17]	[Step 3/4]     | | `-- brace-expansion@1.1.7 
    [08:07:17]	[Step 3/4]     | |   +-- balanced-match@0.4.2 
    [08:07:17]	[Step 3/4]     | |   `-- concat-map@0.0.1 
    [08:07:17]	[Step 3/4]     | +-- path-is-absolute@1.0.1 
    [08:07:17]	[Step 3/4]     | +-- private@0.1.7 
    [08:07:17]	[Step 3/4]     | +-- slash@1.0.0 
    [08:07:17]	[Step 3/4]     | `-- source-map@0.5.6 
    [08:07:17]	[Step 3/4]     +-- babel-preset-es2015@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-check-es2015-constants@6.22.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-arrow-functions@6.22.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-block-scoped-functions@6.22.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-block-scoping@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-classes@6.24.1 
    [08:07:17]	[Step 3/4]     | | +-- babel-helper-define-map@6.24.1 
    [08:07:17]	[Step 3/4]     | | +-- babel-helper-function-name@6.24.1 
    [08:07:17]	[Step 3/4]     | | +-- babel-helper-optimise-call-expression@6.24.1 
    [08:07:17]	[Step 3/4]     | | `-- babel-helper-replace-supers@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-computed-properties@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-destructuring@6.23.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-duplicate-keys@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-for-of@6.23.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-function-name@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-literals@6.22.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-modules-amd@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-modules-commonjs@6.24.1 
    [08:07:17]	[Step 3/4]     | | `-- babel-plugin-transform-strict-mode@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-modules-systemjs@6.24.1 
    [08:07:17]	[Step 3/4]     | | `-- babel-helper-hoist-variables@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-modules-umd@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-object-super@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-parameters@6.24.1 
    [08:07:17]	[Step 3/4]     | | +-- babel-helper-call-delegate@6.24.1 
    [08:07:17]	[Step 3/4]     | | `-- babel-helper-get-function-arity@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-shorthand-properties@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-spread@6.22.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-sticky-regex@6.24.1 
    [08:07:17]	[Step 3/4]     | | `-- babel-helper-regex@6.24.1 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-template-literals@6.22.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-typeof-symbol@6.23.0 
    [08:07:17]	[Step 3/4]     | +-- babel-plugin-transform-es2015-unicode-regex@6.24.1 
    [08:07:17]	[Step 3/4]     | | `-- regexpu-core@2.0.0 
    [08:07:17]	[Step 3/4]     | |   +-- regenerate@1.3.2 
    [08:07:17]	[Step 3/4]     | |   +-- regjsgen@0.2.0 
    [08:07:17]	[Step 3/4]     | |   `-- regjsparser@0.1.5 
    [08:07:17]	[Step 3/4]     | |     `-- jsesc@0.5.0 
    [08:07:17]	[Step 3/4]     | `-- babel-plugin-transform-regenerator@6.24.1 
    [08:07:17]	[Step 3/4]     |   `-- regenerator-transform@0.9.11 
    [08:07:17]	[Step 3/4]     `-- node-chartist@1.0.5 
    [08:07:17]	[Step 3/4]       +-- @panosoft/ramda-utils@0.2.8 
    [08:07:17]	[Step 3/4]       | `-- is_js@0.7.6 
    [08:07:17]	[Step 3/4]       +-- brfs@1.4.3 
    [08:07:17]	[Step 3/4]       | +-- quote-stream@1.0.2 
    [08:07:17]	[Step 3/4]       | | +-- buffer-equal@0.0.1 
    [08:07:17]	[Step 3/4]       | | `-- minimist@1.2.0 
    [08:07:17]	[Step 3/4]       | +-- resolve@1.3.3 
    [08:07:17]	[Step 3/4]       | | `-- path-parse@1.0.5 
    [08:07:17]	[Step 3/4]       | +-- static-module@1.3.2 
    [08:07:17]	[Step 3/4]       | | +-- concat-stream@1.6.0 
    [08:07:17]	[Step 3/4]       | | | +-- inherits@2.0.3 
    [08:07:17]	[Step 3/4]       | | | `-- typedarray@0.0.6 
    [08:07:17]	[Step 3/4]       | | +-- duplexer2@0.0.2 
    [08:07:17]	[Step 3/4]       | | | `-- readable-stream@1.1.14 
    [08:07:17]	[Step 3/4]       | | |   +-- isarray@0.0.1 
    [08:07:17]	[Step 3/4]       | | |   `-- string_decoder@0.10.31 
    [08:07:17]	[Step 3/4]       | | +-- escodegen@1.3.3 
    [08:07:17]	[Step 3/4]       | | | +-- esprima@1.1.1 
    [08:07:17]	[Step 3/4]       | | | +-- estraverse@1.5.1 
    [08:07:17]	[Step 3/4]       | | | +-- esutils@1.0.0 
    [08:07:17]	[Step 3/4]       | | | `-- source-map@0.1.43 
    [08:07:17]	[Step 3/4]       | | +-- falafel@1.2.0 
    [08:07:17]	[Step 3/4]       | | | +-- acorn@1.2.2 
    [08:07:17]	[Step 3/4]       | | | +-- foreach@2.0.5 
    [08:07:17]	[Step 3/4]       | | | +-- isarray@0.0.1 
    [08:07:17]	[Step 3/4]       | | | `-- object-keys@1.0.11 
    [08:07:17]	[Step 3/4]       | | +-- has@1.0.1 
    [08:07:17]	[Step 3/4]       | | | `-- function-bind@1.1.0 
    [08:07:17]	[Step 3/4]       | | +-- object-inspect@0.4.0 
    [08:07:17]	[Step 3/4]       | | +-- quote-stream@0.0.0 
    [08:07:17]	[Step 3/4]       | | +-- readable-stream@1.0.34 
    [08:07:17]	[Step 3/4]       | | | +-- core-util-is@1.0.2 
    [08:07:17]	[Step 3/4]       | | | +-- isarray@0.0.1 
    [08:07:17]	[Step 3/4]       | | | `-- string_decoder@0.10.31 
    [08:07:17]	[Step 3/4]       | | +-- shallow-copy@0.0.1 
    [08:07:17]	[Step 3/4]       | | +-- static-eval@0.2.4 
    [08:07:17]	[Step 3/4]       | | | `-- escodegen@0.0.28 
    [08:07:17]	[Step 3/4]       | | |   +-- esprima@1.0.4 
    [08:07:17]	[Step 3/4]       | | |   `-- estraverse@1.3.2 
    [08:07:17]	[Step 3/4]       | | `-- through2@0.4.2 
    [08:07:17]	[Step 3/4]       | |   `-- xtend@2.1.2 
    [08:07:17]	[Step 3/4]       | |     `-- object-keys@0.4.0 
    [08:07:17]	[Step 3/4]       | `-- through2@2.0.3 
    [08:07:17]	[Step 3/4]       |   +-- readable-stream@2.2.9 
    [08:07:17]	[Step 3/4]       |   | +-- buffer-shims@1.0.0 
    [08:07:17]	[Step 3/4]       |   | +-- isarray@1.0.0 
    [08:07:17]	[Step 3/4]       |   | +-- process-nextick-args@1.0.7 
    [08:07:17]	[Step 3/4]       |   | `-- string_decoder@1.0.1 
    [08:07:17]	[Step 3/4]       |   `-- xtend@4.0.1 
    [08:07:17]	[Step 3/4]       +-- chartist@0.11.0 
    [08:07:17]	[Step 3/4]       +-- chartist-plugin-axistitle@0.0.1 
    [08:07:17]	[Step 3/4]       +-- co@4.6.0 
    [08:07:17]	[Step 3/4]       +-- is_js@0.9.0 
    [08:07:17]	[Step 3/4]       +-- jsdom@9.12.0 
    [08:07:17]	[Step 3/4]       | +-- abab@1.0.3 
    [08:07:17]	[Step 3/4]       | +-- acorn@4.0.13 
    [08:07:17]	[Step 3/4]       | +-- acorn-globals@3.1.0 
    [08:07:17]	[Step 3/4]       | | `-- acorn@4.0.13 
    [08:07:17]	[Step 3/4]       | +-- array-equal@1.0.0 
    [08:07:17]	[Step 3/4]       | +-- content-type-parser@1.0.1 
    [08:07:17]	[Step 3/4]       | +-- cssom@0.3.2 
    [08:07:17]	[Step 3/4]       | +-- cssstyle@0.2.37 
    [08:07:17]	[Step 3/4]       | +-- escodegen@1.8.1 
    [08:07:17]	[Step 3/4]       | | +-- esprima@2.7.3 
    [08:07:17]	[Step 3/4]       | | +-- estraverse@1.9.3 
    [08:07:17]	[Step 3/4]       | | +-- optionator@0.8.2 
    [08:07:17]	[Step 3/4]       | | | +-- deep-is@0.1.3 
    [08:07:17]	[Step 3/4]       | | | +-- fast-levenshtein@2.0.6 
    [08:07:17]	[Step 3/4]       | | | +-- levn@0.3.0 
    [08:07:17]	[Step 3/4]       | | | +-- prelude-ls@1.1.2 
    [08:07:17]	[Step 3/4]       | | | +-- type-check@0.3.2 
    [08:07:17]	[Step 3/4]       | | | `-- wordwrap@1.0.0 
    [08:07:17]	[Step 3/4]       | | `-- source-map@0.2.0 
    [08:07:17]	[Step 3/4]       | |   `-- amdefine@1.0.1 
    [08:07:17]	[Step 3/4]       | +-- html-encoding-sniffer@1.0.1 
    [08:07:17]	[Step 3/4]       | +-- nwmatcher@1.4.0 
    [08:07:17]	[Step 3/4]       | +-- parse5@1.5.1 
    [08:07:17]	[Step 3/4]       | +-- request@2.81.0 
    [08:07:17]	[Step 3/4]       | | +-- aws-sign2@0.6.0 
    [08:07:17]	[Step 3/4]       | | +-- aws4@1.6.0 
    [08:07:17]	[Step 3/4]       | | +-- caseless@0.12.0 
    [08:07:17]	[Step 3/4]       | | +-- combined-stream@1.0.5 
    [08:07:17]	[Step 3/4]       | | | `-- delayed-stream@1.0.0 
    [08:07:17]	[Step 3/4]       | | +-- extend@3.0.1 
    [08:07:17]	[Step 3/4]       | | +-- forever-agent@0.6.1 
    [08:07:17]	[Step 3/4]       | | +-- form-data@2.1.4 
    [08:07:17]	[Step 3/4]       | | | `-- asynckit@0.4.0 
    [08:07:17]	[Step 3/4]       | | +-- har-validator@4.2.1 
    [08:07:17]	[Step 3/4]       | | | +-- ajv@4.11.8 
    [08:07:17]	[Step 3/4]       | | | | `-- json-stable-stringify@1.0.1 
    [08:07:17]	[Step 3/4]       | | | |   `-- jsonify@0.0.0 
    [08:07:17]	[Step 3/4]       | | | `-- har-schema@1.0.5 
    [08:07:17]	[Step 3/4]       | | +-- hawk@3.1.3 
    [08:07:17]	[Step 3/4]       | | | +-- boom@2.10.1 
    [08:07:17]	[Step 3/4]       | | | +-- cryptiles@2.0.5 
    [08:07:17]	[Step 3/4]       | | | +-- hoek@2.16.3 
    [08:07:17]	[Step 3/4]       | | | `-- sntp@1.0.9 
    [08:07:17]	[Step 3/4]       | | +-- http-signature@1.1.1 
    [08:07:17]	[Step 3/4]       | | | +-- assert-plus@0.2.0 
    [08:07:17]	[Step 3/4]       | | | +-- jsprim@1.4.0 
    [08:07:17]	[Step 3/4]       | | | | +-- assert-plus@1.0.0 
    [08:07:17]	[Step 3/4]       | | | | +-- extsprintf@1.0.2 
    [08:07:17]	[Step 3/4]       | | | | +-- json-schema@0.2.3 
    [08:07:17]	[Step 3/4]       | | | | `-- verror@1.3.6 
    [08:07:17]	[Step 3/4]       | | | `-- sshpk@1.13.0 
    [08:07:17]	[Step 3/4]       | | |   +-- asn1@0.2.3 
    [08:07:17]	[Step 3/4]       | | |   +-- assert-plus@1.0.0 
    [08:07:17]	[Step 3/4]       | | |   +-- bcrypt-pbkdf@1.0.1 
    [08:07:17]	[Step 3/4]       | | |   +-- dashdash@1.14.1 
    [08:07:17]	[Step 3/4]       | | |   | `-- assert-plus@1.0.0 
    [08:07:17]	[Step 3/4]       | | |   +-- ecc-jsbn@0.1.1 
    [08:07:17]	[Step 3/4]       | | |   +-- getpass@0.1.7 
    [08:07:17]	[Step 3/4]       | | |   | `-- assert-plus@1.0.0 
    [08:07:17]	[Step 3/4]       | | |   +-- jodid25519@1.0.2 
    [08:07:17]	[Step 3/4]       | | |   +-- jsbn@0.1.1 
    [08:07:17]	[Step 3/4]       | | |   `-- tweetnacl@0.14.5 
    [08:07:17]	[Step 3/4]       | | +-- is-typedarray@1.0.0 
    [08:07:17]	[Step 3/4]       | | +-- isstream@0.1.2 
    [08:07:17]	[Step 3/4]       | | +-- json-stringify-safe@5.0.1 
    [08:07:17]	[Step 3/4]       | | +-- mime-types@2.1.15 
    [08:07:17]	[Step 3/4]       | | | `-- mime-db@1.27.0 
    [08:07:17]	[Step 3/4]       | | +-- oauth-sign@0.8.2 
    [08:07:17]	[Step 3/4]       | | +-- performance-now@0.2.0 
    [08:07:17]	[Step 3/4]       | | +-- qs@6.4.0 
    [08:07:17]	[Step 3/4]       | | +-- safe-buffer@5.0.1 
    [08:07:17]	[Step 3/4]       | | +-- stringstream@0.0.5 
    [08:07:17]	[Step 3/4]       | | +-- tunnel-agent@0.6.0 
    [08:07:17]	[Step 3/4]       | | `-- uuid@3.0.1 
    [08:07:17]	[Step 3/4]       | +-- sax@1.2.2 
    [08:07:17]	[Step 3/4]       | +-- symbol-tree@3.2.2 
    [08:07:17]	[Step 3/4]       | +-- tough-cookie@2.3.2 
    [08:07:17]	[Step 3/4]       | | `-- punycode@1.4.1 
    [08:07:17]	[Step 3/4]       | +-- webidl-conversions@4.0.1 
    [08:07:17]	[Step 3/4]       | +-- whatwg-encoding@1.0.1 
    [08:07:17]	[Step 3/4]       | | `-- iconv-lite@0.4.13 
    [08:07:17]	[Step 3/4]       | +-- whatwg-url@4.8.0 
    [08:07:17]	[Step 3/4]       | | +-- tr46@0.0.3 
    [08:07:17]	[Step 3/4]       | | `-- webidl-conversions@3.0.1 
    [08:07:17]	[Step 3/4]       | `-- xml-name-validator@2.0.1 
    [08:07:17]	[Step 3/4]       +-- matchmedia@0.1.2 
    [08:07:17]	[Step 3/4]       | `-- css-mediaquery@0.1.2 
    [08:07:17]	[Step 3/4]       +-- promisify-node@0.2.1 
    [08:07:17]	[Step 3/4]       | `-- nodegit-promise@3.0.3 
    [08:07:17]	[Step 3/4]       |   `-- asap@2.0.5 
    [08:07:17]	[Step 3/4]       +-- ramda@0.18.0 
    [08:07:17]	[Step 3/4]       `-- underscore.string@3.3.4 
    [08:07:17]	[Step 3/4]         +-- sprintf-js@1.1.0 
    [08:07:17]	[Step 3/4]         `-- util-deprecate@1.0.2 
    
  5. pranavkm commented on May 26, 2017

    @pranavkm
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions