Unable to run reactjs.org project
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
Followed below steps to install node_modules.
fork reactjs.org
cloned the fork to local
cd reactjs.org
yarn
expected result: install node_modules successfully
actual result: getting following error.
Error occurring when ran command yarn
error c:\projects\open source\reactjs.org\node_modules\pngquant-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: c:\projects\open source\reactjs.org\node_modules\pngquant-bin
Output:
‼ read ECONNRESET
‼ pngquant pre-build test failed
i compiling from source
× Error: pngquant failed to build, make sure that libpng-dev is installed
at c:\projects\open source\reactjs.org\node_modules\bin-build\node_modules\execa\index.js:231:11
after this error I still went ahead and ran Yarn dev and see below error
ERROR
The gatsby-source-react-error-codes plugin has failed:
Error: read ECONNRESET
not finished source and transform nodes - 0.390s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Environment:
windows 11 using command prompt as well as powershell, both as admin
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Windows 11 で報告された yarn の失敗を再現し、node_modules/pngquant-bin/lib/install.js とログで言及されている gatsby-source-react-error-codes プラグインに注目します。ECONNRESET が依存関係のインストール中、Gatsby のソースステップ中、またはその両方で発生するかを確認します。完了の条件は、yarn が完了し、yarn dev が正常に実行されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- build-system, documentation
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100