Unable to find `pwsh.exe` error when using `npm` instead of `yarn` [0.84]
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, node.js, powershell
- 領域
- documentation, tooling
調査の方向性
issue にリンクされている入門ドキュメントから始め、その npm および yarn のセットアップ手順を packages/@react-native-windows/find-dotnet-tools/src/findDotnetTools.ts と比較します。npm ユーザーが pwsh.exe が見つからないエラーにどのように遭遇するかを確認し、PowerShell 7 が必要であることを説明するよう、関連するドキュメントまたはメッセージを更新します。手順とエラー文言が両方のパッケージマネージャーをカバーしていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Page url
Problem Description
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.
References:
- 主要言語
- C#
- スター
- 544
- フォーク
- 218
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/react-native-windows-samples のほかの issue
-
bug documentation Needs: Triage :mag:
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
documentation enhancement good first issue good first issue: easy
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
microsoft/react-native-windows-samples#861 · コメント 2 件 ·
-
Update the sample projects to be compatible with react-native-windows 0.82.0-preview.8再び着手できるかも @iamAbhi-916 が 241 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement Workstream: Gallery and Samples
microsoft/react-native-windows-samples#1141 · 担当者 1 名 ·
-
Update CI pipeline to windows-latest when main has changes ready再び着手できるかも @vineethkuttan が 328 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
microsoft/react-native-windows-samples#1099 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/react-native-windows-samples#1090 · コメント 1 件 ·
microsoft/react-native-windows-samples の issue をすべて見る
似ている issue
-
Money ExploitsオープンS: Untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
project-wayfarer/wayfarer-14#1628 ·
メンテナーはふだん 3 日以内に返信
-
:watch: Not Triaged dotnet-target-version
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
copilot documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
dotnet/dotnet-api-docs#13124 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信