[BUG] npx crashes when mixing implicit/explicit modules in -p #3668
Labels
Bug
thing that needs fixing
Priority 1
high priority issue
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
Run the following npx command in a directory that has an existing node_modules with one of the modules already installed. When mixing implict and specific like below, npx crashes when it tries to tread
undefined
as a string.Here is the stack trace from the debug log:
Not sure if it crashes because of the missing version specifier @babel/core when it already has a fixed version in package.json or something else.
Expected Behavior
Expect it to prompt for installation (the first time it is run):
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: