Composer version 2.1.9
照Laravel官網下composer global require "laravel/installer=~1.1"
然後laravel new blog就噴錯了
去估狗了一下覺得跟這篇差不多
https://stackoverflow.com/questions/64686037/why-do-i-get-a-laravel-error-while-creating-a-new-project
原本想說是版本太舊 裝新一點的
結果安裝就出了問題
下composer global require laravel/installer
之後就變
附上錯誤碼Your requirements could not be resolved to an installable set of packages.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
請問該怎麼辦
你確定?你是依照官網的安裝說明嘛??
目前的官網是 https://laravel.com
最新版的安裝手冊是 https://laravel.com/docs/8.x/installation
你先確定一下你是不是又跑去非官網的地方了。