BUG - nodejs-utils
: command runner should run with shell
on windows
#2433
Labels
nodejs-utils
: command runner should run with shell
on windows
#2433
Description
Running
npm -g root
using the command runner here: https://github.com/SAP/open-ux-tools/blob/main/packages/nodejs-utils/src/installedCheck.ts#L112 results inundefined
instead of the node_modules path expected. The additional option{ shell: true }
may be required on Windows platforms to run installed commands that rely on env vars such as executables added to the env path.Steps to Reproduce
Steps to reproduce the behavior:
Expected results
Actual results
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:
Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}
The text was updated successfully, but these errors were encountered: