You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my pkg.json#scripts, I have a env script that runs a command. In npm@6m running npm run env runs that script. in npm@7, it seems to run the env shell command.
Expected Behavior:
pkg.json#scripts should take precedence over shell commands.
Steps To Reproduce:
Run env in your shell.
See output to confirm you have an env command.
Add an env script to pkg.json#scripts that does something different.
Run npm run env in npm@6.
See env script in pkg.json run.
Run npm run env in npm@7.
See env shell command output.
Environment:
OS: OSX
Node: 15.5.0
npm: 7.4.0
The text was updated successfully, but these errors were encountered:
Current Behavior:
In my
pkg.json#scripts
, I have aenv
script that runs a command. In npm@6m runningnpm run env
runs that script. in npm@7, it seems to run theenv
shell command.Expected Behavior:
pkg.json#scripts
should take precedence over shell commands.Steps To Reproduce:
env
in your shell.env
command.env
script topkg.json#scripts
that does something different.npm run env
in npm@6.env
script in pkg.json run.npm run env
in npm@7.env
shell command output.Environment:
The text was updated successfully, but these errors were encountered: