npm ERR! missing script: config


(Abdoahly2010) #1

that’s the problem

npm ERR! missing script: config

npm ERR! A complete log of this run can be found in:
0 info it worked if it ends with ok
1 verbose cli [ ‘C:\Program Files\nodejs\node.exe’,
1 verbose cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
1 verbose cli ‘run’,
1 verbose cli ‘config’,
1 verbose cli ‘366756666766’,
1 verbose cli ‘speaker-cards-code-bkt’,
1 verbose cli ‘us-east-2’,
1 verbose cli ‘AKIAICD7Y4HPPE2PCDOA’,
1 verbose cli ‘LK5UqtDYxBxrDDXcVX7/8wnZZNWD90gvHI4wu7Oh’,
1 verbose cli ‘speaker-cards-broker-api’,
1 verbose cli ‘speaker-cards-broker-fn’,
1 verbose cli ‘speaker-cards-broker-stack’,
1 verbose cli ‘none’,
1 verbose cli ‘none’,
1 verbose cli ‘speaker-card-speech2’ ]
2 info using npm@5.6.0
3 info using node@v8.11.3
4 verbose stack Error: missing script: config
4 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:61:5
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:402:5
4 verbose stack at checkBinReferences_ (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:357:45)
4 verbose stack at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:400:3)
4 verbose stack at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:160:5)
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:280:12
4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
5 verbose cwd C:\Users\Abdoo\Desktop\appeality-speaker-cards-1_1\appeality-speaker-cards
6 verbose Windows_NT 10.0.15063
7 verbose argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “run” “config” “125896235747” “speaker-cards-code-bkt” “us-east-2” “AKIAICD7Y4HPPE2PCDOA” “LK5UqtDYxBxrDDXcVX7/8wnZZNWD90gvHI4wu7Oh” “speaker-cards-broker-api” “speaker-cards-broker-fn” “speaker-cards-broker-stack” “none” “none” “speaker-card-speech2”
8 verbose node v8.11.3
9 verbose npm v5.6.0
10 error missing script: config
11 verbose exit [ 1, true ]


(Rebecca Turner) #2

What this message is telling you:

Is that ran npm run config but didn’t include a config script in your package.json. Scripts that you want to run must be included in the scripts section of your `package.json.


(system) #3

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.