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
{{ message }}
Repository navigation
Unable to find pwsh.exe error when using npm instead of yarn [0.84] #1343
When setting up the project using npm instead of yarn, the build fails because it cannot find pwsh.exe. The error message assumes the user is using yarn install.
Error Log:
Error: Unable to find pwsh.exe. It should have been made available by `yarn install`.
at findPowerShell (...\node_modules\@react-native-windows\find-dotnet-tools\lib-commonjs\findDotnetTools.js:62:11)
(Environment: Node.js v26.7.0)
Cause & Workaround:
If developers choose to use npm, pwsh.exe is not automatically made available. To resolve this, npm users must manually install PowerShell 7.
It would be helpful to update the error message or the documentation to mention that PowerShell 7 must be installed manually when using npm.
changed the title [-]Unable to find `pwsh.exe` error when using `npm` instead of `yarn` [0.84 Docs][/-][+]Unable to find `pwsh.exe` error when using `npm` instead of `yarn` [0.84][/+]on Sep 30, 2026
Activity
[-]Unable to find `pwsh.exe` error when using `npm` instead of `yarn` [0.84 Docs][/-][+]Unable to find `pwsh.exe` error when using `npm` instead of `yarn` [0.84][/+]