degit
degit copied to clipboard
degit executes bin.js on windows instead of running it as node
the recent updates 2.8.1 & 2.8.2
completely broke degit on windows 10.
when I run npx degit sveltejs/template .
unable to clone any repo because bin.js file gets executed by .js default app (vscode in my case).
instead of running node bin.js
in command line path.
however version 2.8.0 works fine doesn't have this behavior
me too..has degraded processing
same thing for unix OSs
in the compiled form the shebang #!/usr/bin/env node
is missing so the OS (or npx for that matter) is just exuecuting it as a normal shell script
(or in your case vscode)
oh i see , this is more or less a duplicate of #274