Skip to content

Unmet peer dependency が出る #67

Description

@shundroid

パッケージのインストール時に、 react のバージョンにおいて、 unmet peer dependency となってしまいます。

おそらく使われていない material-ui (mui でないほう) のバージョンが古いことが原因で、この部分を消して、(これは必要かはわかりませんが) react 等の要求バージョンの制約を少し緩めると、パッケージをインストールできました

     "@holiday-jp/holiday_jp": "^2.3.0",
-    "@material-ui/core": "^4.12.4",
-    "@material-ui/icons": "^4.11.3",
     "@mui/icons-material": "^5.6.2",
     "@mui/material": "^5.6.2",
     "@types/styled-components": "^5.1.25",
@@ -25,8 +23,8 @@
     "eslint-plugin-unused-imports": "^2.0.0",
     "next": "12.1.4",
     "next-pwa": "^5.5.4",
-    "react": "18.0.0",
-    "react-dom": "18.0.0",
+    "react": "^18.0.0",
+    "react-dom": "^18.0.0",
     "recoil": "^0.7.4",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions