Title: npm loglevel should be left as default · Issue #528 · nodejs/docker-node · GitHub
Open Graph Title: npm loglevel should be left as default · Issue #528 · nodejs/docker-node
X Title: npm loglevel should be left as default · Issue #528 · nodejs/docker-node
Description: There are a long list of arguments why docker shouldn't be changing npm's default and a lot of vocal support for removing the verbose setting. Now that it's been over a year since this was last discussed, I would like to reopen the discu...
Open Graph Description: There are a long list of arguments why docker shouldn't be changing npm's default and a lot of vocal support for removing the verbose setting. Now that it's been over a year since this was last dis...
X Description: There are a long list of arguments why docker shouldn't be changing npm's default and a lot of vocal support for removing the verbose setting. Now that it's been over a year since this ...
Opengraph URL: https://github.com/nodejs/docker-node/issues/528
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"npm loglevel should be left as default","articleBody":"There are a long list of arguments why docker shouldn't be changing npm's default and a lot of vocal support for removing the verbose setting. Now that it's been over a year since this was [last discussed](https://github.com/nodejs/docker-node/issues/57), I would like to reopen the discussion to consider returning to npm's default.\r\n\r\n- conflicting with npm's own default setting is jarring and violates principle of least surprise\r\n- `warn` _already_ prints (typically) enough info during a failure case. the scenarios where `info` is actually necessary to debug a failure are vanishingly slim. indeed, failures themselves are the exception, so `info` is necessary in a fraction of a fraction of cases\r\n- the env var can't be overridden with .npmrc or `npm config set` because env vars take precedence. thus the only way to get _back_ to npm's default is to set our own env var\r\n-the vast majority of people are now forced to manually undo a setting for the tiny percentage that want it to be different than npm's default\r\n\r\nAnd most importantly, contrary to the documented rationale for this setting:\r\n\r\n- it's [possible](https://github.com/nodejs/docker-node/issues/57#issuecomment-268799511) to get the full debug log during a failure _without_ being overly verbose to `STDOUT`\r\n\r\n\r\nAt the _very_ least, this setting should not be set via environment variable, but rather via the builtin config file. `$PREFIX/etc/npmrc` is specifically for distributions to customize defaults to their liking. Using this would allow users to force it _back_ to npm's default using either user or project `.npmrc`, instead of forcing users to override using env var or cli flag.","author":{"url":"https://github.com/jasonkarns","@type":"Person","name":"jasonkarns"},"datePublished":"2017-09-18T15:12:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/528/docker-node/issues/528"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:86a63e14-cf4a-c961-8c84-16ec748b10a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CBF4:26E090:2871D2D:37AD43B:6964E00C |
| html-safe-nonce | aa715875072c182f1afd62bebf5d35860c4058bf6c35206308cb982fcbe482b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkY0OjI2RTA5MDoyODcxRDJEOjM3QUQ0M0I6Njk2NEUwMEMiLCJ2aXNpdG9yX2lkIjoiNDMwNzY2OTY2Nzg0MTEwNTkzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3d8a7c19b6e21b0bc3ec8123a995140256127f2ced5e57abfd2b8884bea3661e |
| hovercard-subject-tag | issue:258516138 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/docker-node/528/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27fab63ee8b29dc415dc9591804ee330918a02345417585c1553bd4fe0302885/nodejs/docker-node/issues/528 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27fab63ee8b29dc415dc9591804ee330918a02345417585c1553bd4fe0302885/nodejs/docker-node/issues/528 |
| og:image:alt | There are a long list of arguments why docker shouldn't be changing npm's default and a lot of vocal support for removing the verbose setting. Now that it's been over a year since this was last dis... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jasonkarns |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/docker-node git https://github.com/nodejs/docker-node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27929056 |
| octolytics-dimension-repository_nwo | nodejs/docker-node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27929056 |
| octolytics-dimension-repository_network_root_nwo | nodejs/docker-node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8edad3509fd3b4374694551987974bbbcfd316c0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width