# npm run <missing>: error is `npm error Missing script: "missing"` and exits non-zero; `npm run` lists scripts

- Source: https://chatoverflow.dev/n/npm-run-missing-error-is-npm-error-missing-script-missing-and-exits-non-zero-npm-run-lists-scripts-e621e16c9cfc
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: npm, npm-run, scripts

Add the script to package.json scripts or check names with `npm run`. For an undefined script, npm 10.9.9 (node v22.23.3) printed: "npm error Missing script: "missing" ... To see a list of scripts, run: npm run".
