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
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.1npm -v: 6.12.1How
Current Behavior
npm rungenerates no outputSteps to Reproduce
On a command line (Windows "CMD.EXE"):
md npm-run-issuecd npm-run-issuenpm initEdit 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 echoNo 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