{"categories":["\u77e5\u898b","\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0"],"provider_url":"https://hatena.blog","description":"\u203b\u3053\u306e\u60c5\u5831\u306fpnpm@9\u6642\u70b9\u3067\u306e\u60c5\u5831\u3067\u3059 tl;dr pnpm i --resolution-only pnpm i --fix-lockfile peer dependencies\u3067\u554f\u984c\u304c\u8d77\u3053\u3063\u305f\u3089\u3001\u3069\u3061\u3089\u304b\u3092\u5b9f\u884c\u3059\u308b\u3002 pnpm\u3092\u4f7f\u3063\u3066\u3044\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001node_modules\u306e\u4e2d\u306b\u4e0d\u5fc5\u8981\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\uff08optional peer dependencies\uff09\u304c\u305a\u3063\u3068\u5165\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u554f\u984c\u304c\u3042\u308b\u3002 \u3053\u306e\u3053\u3068\u3067\u666e\u901a\u306f\u305d\u3093\u306a\u306b\u554f\u984c\u306f\u8d77\u3053\u3089\u306a\u3044\u304c\u3001\u7a00\u306b\u554f\u984c\u3092\u5f15\u304d\u8d77\u3053\u3059\u3053\u3068\u304c\u3042\u308b\u3002 \u6614\u5165\u3063\u3066\u3057\u307e\u3063\u305fpeer dependencies\u304cnode_modules\u5185\u306b\u5b58\u5728\u3059\u308b\u3053\u3068\u3067 \u3053\u3046\u3044\u3063\u305f\u3053\u3068\u304c\u8d77\u3053\u308b\u3002\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-1natsu.hatenablog.com%2Fentry%2F2024%2F08%2F13%2F140104\" title=\"pnpm\u3067\u610f\u56f3\u3057\u306a\u3044peer dependencies\u304c\u3042\u308a\u554f\u984c\u304c\u8d77\u3053\u308b\u3068\u304d\u306e\u5bfe\u51e6 - \u3072\u3068\u590f\u306e\u6280\u8853\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://tech-1natsu.hatenablog.com/","height":"190","image_url":null,"published":"2024-08-13 14:01:04","author_url":"https://blog.hatena.ne.jp/hitonatsu/","version":"1.0","provider_name":"Hatena Blog","url":"https://tech-1natsu.hatenablog.com/entry/2024/08/13/140104","author_name":"hitonatsu","blog_title":"\u3072\u3068\u590f\u306e\u6280\u8853","title":"pnpm\u3067\u610f\u56f3\u3057\u306a\u3044peer dependencies\u304c\u3042\u308a\u554f\u984c\u304c\u8d77\u3053\u308b\u3068\u304d\u306e\u5bfe\u51e6","width":"100%","type":"rich"}