-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Bugthing that needs fixingthing that needs fixingRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
Current Behavior:
NPM 7 fails with an empty script.
Expected Behavior:
Not to fail.
Steps To Reproduce:
package.json:
{
"scripts": {
"empty": ""
}
}
Command
npm run empty
Result:
npm ERR! missing script: empty
npm ERR!
npm ERR! Did you mean this?
npm ERR! empty
Environment:
- OS: MacOS 10.15.7
- Node: 14.15.0
- npm: 7.0.10
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release