[BUG] '"-S"' is not recognized as an internal or external command #3719
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
I want to put
--no-warnings --loader ts-node/esm --experimental-vm-modules
to node args, so we useenv -S
:#!/usr/bin/env -S node --no-warnings --loader ts-node/esm --experimental-vm-modules
However, this will generate the following
node_modules/.bin
files:Expected Behavior
The
-S.exe
and-s$exe
are both not correct, which should be set tonode.exe
Steps To Reproduce
Under windows:
IF EXIST "%dp0%\-S.exe" (
which is not correct:-S.exe
should benode.exe
Environment
Link to:
The text was updated successfully, but these errors were encountered: