-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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:
When using npx in any directory not initialised with a package.json, npx stops beacause of ENOENT
package.json.
Expected Behavior:
npx runs the command regardlessly, like it does in the one shipped with npm@6
Steps To Reproduce:
$ npm i -g npm@7
$ npx jay
(anywhere that's not in a package)
Environment:
- OS: Windows 10 1909
- Node: 14.7.0
- npm: 7.0.1
travislwatson, compulim, jmacura, zikaeroh and Ali-HkH
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