$ npx -qp [email protected] -c 'npm run'
start:webpack-dev-server --open
build:NODE_ENV=production webpack -p
$ npx -qp [email protected] -c 'npm run'
npm timing config:load:defaults Completed in 1ms
...
npm timing npm:load Completed in 25ms
npm run-script <command> [-- <args>]
aliases: run, rum, urn
npm timing npm Completed in 155ms
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ahu/.npm/_logs/2020-08-23T00_18_04_815Z-debug.log
$ npx -qp [email protected] -c 'npm run'
start:webpack-dev-server --open
build:NODE_ENV=production webpack -p
npx -qp [email protected] -c 'npm run'
Grundursache: https://github.com/npm/config/issues/2
Wir sollten env-Werte von ''
überspringen, anstatt sie in das Konfigurationsobjekt einzufügen.
Unterscheidet sich die leere Zeichenfolge nicht von nicht gesetzt?
Es ist, aber leider hat npm 6 diese Unterscheidung nicht angemessen respektiert.
In der letzten Beta behoben.