- Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
What / Why
"npm run" appears not to work - generates no output.
When
On a command line (Windows "CMD.EXE")
Where
Windows Home (Version 1909)
node -v
: v12.13.1
npm -v
: 6.12.1
How
Current Behavior
npm run
generates no output
Steps to Reproduce
On a command line (Windows "CMD.EXE"):
md npm-run-issue
cd npm-run-issue
npm init
Edit contents of package.json:
{ "name": "npm-run-issue", "version": "1.0.0", "description": "Minimal reproduction of npm run issue", "main": "index.js", "scripts": { "echo": "echo 'run' works!" }, "author": "", "license": "ISC" }
npm run echo
No output (at all) is generated.
Expected Behavior
Output should be similar to that from "yarn run":
yarn run v1.9.4
$ echo 'run' works!
'run' works!
Done in 0.12s.
References
The issue can be reproduced locally with this GitHub repository:
https://github.com/snerks/npm-run-issue
Metadata
Metadata
Assignees
Labels
No labels