reactjs / reactjs/react.dev

Can't run it with node 8.4.0: "Node: any 8.x version starting with 8.4.0 or greater"

オープン
#1,242 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
11.8k
フォーク
7.9k
平均マージ
1日 11時間
マージ済み PR(30日)
11

説明

  • with node 8.4.0 I run yarn and I get this error: error css-loader@1.0.0: The engine "node" is incompatible with this module. Expected version ">= 6.9.0 <7.0.0 || >= 8.9.0". error Found incompatible module

image

  • I tried to install 8.9.0 and I managed to install the node_modules but then when I run yarn dev I get these errors TypeError: Cannot read property 'filter' of undefined and error Plugin gatsby-transformer-sharp returned an error Error: The specified module could not be found. \\?\E:\dev\xxx\node_modules\sharp\build\Release\sharp.node;

image

I'm using win 10 pro 64bit.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リポジトリのファイル、テスト、エントリポイントのいずれも指定されていません。まず Windows 上で Node 8.4.0 と 8.9.0 を使って yarnyarn dev を再現し、その後 css-loader と gatsby-transformer-sharp 周辺の依存関係の制約を調査してください。完了条件は、サポートされる Node のバージョンを確定し、これらのエラーなしで開発サーバーが起動することを確認することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, node.js
領域
build-system
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。