{"id":9906,"date":"2019-03-03T10:38:54","date_gmt":"2019-03-03T01:38:54","guid":{"rendered":"https:\/\/www.itblog.jp\/?p=9906"},"modified":"2019-03-03T10:38:54","modified_gmt":"2019-03-03T01:38:54","slug":"laravel%e3%81%a7%e3%80%8ccomposer-require-doctrine-dbal%e3%80%8d%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%80%8cinstallation-failed-reverting-composer-json-to-its-original-c","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9906","title":{"rendered":"Laravel\u3067\u300ccomposer require doctrine\/dbal\u300d\u3092\u5b9f\u884c\u3067\u30a8\u30e9\u30fc\u300cInstallation failed, reverting .\/composer.json to its original content.\u300d\u306e\u5bfe\u51e6\u6cd5"},"content":{"rendered":"<p>Laravel\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u3001\u30ab\u30e9\u30e0\u5909\u66f4\u306e\u6a5f\u80fd\u3092\u4f7f\u3046\u5834\u5408\u306b\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f<\/p>\n<p>Changing columns for table &#8220;table&#8221; requires Doctrine DBAL; install &#8220;doctrine\/dbal&#8221;.<\/p>\n<p>\u30c6\u30fc\u30d6\u30eb\u306e\u30ab\u30e9\u30e0\u5909\u66f4\u3092\u3059\u308b\u306b\u306fdoctrine\/dbal\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u308d\u3068\u3044\u3046\u3053\u3068<br \/>\n<a href=\"https:\/\/readouble.com\/laravel\/5.7\/ja\/migrations.html\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d<\/p>\n<p>composer require doctrine\/dbal<\/p>\n<p>\u3092\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u5b9f\u884c\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u3053\u3053\u3067\u3082\u30a8\u30e9\u30fc<\/p>\n<p>Installation failed, reverting .\/composer.json to its original content.<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3057\u305f\u306e\u3067\u3001composer.json\u3092\u5143\u306b\u623b\u3057\u307e\u3057\u305f\u3068\u3044\u3046\u3053\u3068\u3002<br \/>\n\u3082\u3046\u3061\u3087\u3063\u3068\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\u3092\u8a73\u7d30\u306b\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>Your requirements could not be resolved to an installable set of packages.<br \/>\n\u3042\u306a\u305f\u306e\u8981\u6c42\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30bb\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u89e3\u6c7a\u3067\u304d\u307e\u305b\u3093<\/p>\n<p>Problem 1<br \/>\n    &#8211; The requested package laravel\/framework (locked at v5.8.2, required as 5.7.*) is satisfiable by laravel\/framework[v5.8.2] but these conflict with your requirements or minimum-stability.<\/p>\n<p>\u8981\u6c42\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306fLaravel5.8.2\u7cfb\u3092\u5fc5\u8981\u3068\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3042\u306a\u305f\u306eLaravel\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5bfe\u3057\u3066\u306f\u5bfe\u5fdc\u3067\u304d\u307e\u305b\u3093<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001Laravel\uff4e\u30d0\u30fc\u30b8\u30e7\u30f3\u30925.8\u7cfb\u306b\u30a2\u30c3\u30d7\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001composer.json\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>&#8220;require&#8221;: {<br \/>\n        &#8220;php&#8221;: &#8220;^7.1.3&#8221;,<br \/>\n        &#8220;doctrine\/dbal&#8221;: &#8220;^2.9&#8221;,<br \/>\n        &#8220;fideloper\/proxy&#8221;: &#8220;^4.0&#8221;,<br \/>\n\/\/\u3053\u3053\u3092\u5909\u66f4<br \/>\n        &#8220;laravel\/framework&#8221;: &#8220;5.7.*&#8221;,\u2192&#8221;laravel\/framework&#8221;: &#8220;5.8.*&#8221;,<br \/>\n        &#8220;laravel\/tinker&#8221;: &#8220;^1.0&#8221;<br \/>\n    },<\/p>\n<p>\u3053\u3053\u304c5.7\u7cfb\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u30015.8\u7cfb\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001composer update<\/p>\n<p>\u3053\u308c\u3067\u3001Laravel\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c5.8\u7cfb\u306b\u5909\u66f4\u3055\u308c\u3001\u305d\u306e\u5f8c<\/p>\n<p>composer require doctrine\/dbal<\/p>\n<p>\u3053\u308c\u3067\u7121\u4e8b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Laravel\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u3001\u30ab\u30e9\u30e0\u5909\u66f4\u306e\u6a5f\u80fd\u3092\u4f7f\u3046\u5834\u5408\u306b\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f Changing columns for table &#8220;table&#8221; requires Doctrin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140,131],"tags":[],"class_list":["post-9906","post","type-post","status-publish","format-standard","hentry","category-laravel","category-131"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9906"}],"version-history":[{"count":0,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9906\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}