From 97a00f86bf6d858a1b46673575a0ac889171bba2 Mon Sep 17 00:00:00 2001 From: dodonki1223 Date: Tue, 30 Nov 2021 14:54:07 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20react-scripts=20=E3=81=AB=E4=BE=9D?= =?UTF-8?q?=E5=AD=98=E3=81=97=E3=81=A6=E3=81=84=E3=82=8B=20postcss=20?= =?UTF-8?q?=E3=81=AB=E6=97=A2=E7=9F=A5=E3=81=AE=E3=83=90=E3=82=B0=E3=81=8C?= =?UTF-8?q?=E3=81=82=E3=82=8A=E5=8B=95=E3=81=8B=E3=81=AA=E3=81=8F=E3=81=AA?= =?UTF-8?q?=E3=82=8B=E3=81=AE=E3=81=A7=20Node=20=E3=81=AE=E3=83=90?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92=E4=B8=8B=E3=81=92?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node のバージョンが v16.13.0 だと以下のようなエラーが出てビルドに失敗するため、一旦 Node のバージョンを下げることで対応する ``` (node:3713) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /tmp/workspace/node_modules/postcss-safe-parser/node_modules/postcss/package.json. Update this package.json to use a subpath pattern like "./*". ``` react-scripts のバージョン(4.0.3)が上がるまで待つしかない……。 詳しくは以下のページを確認してください - https://github.com/postcss/postcss-safe-parser/issues/29 - https://github.com/facebook/create-react-app/issues/11565 --- .node-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .node-version diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..946789e --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +16.0.0