[BUG] Error occurs when executing npm scripts and npx when script-shell=pwsh.exe is specified in .npmrc #5332
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Expected Behavior
Works fine if
script-shell
is set tocmd.exe
.Steps To Reproduce
npm config set script-shell pwsh.exe
npm run <script>
in any Node.js project. Or runnpx
,npx create-next-app
,npm create tauri-app
, etc.Environment
The text was updated successfully, but these errors were encountered: