1
返回克隆後的混帳回購協議,安裝作曲家和Laravel,這個錯誤會出來。任何人都可以解決此錯誤?腳本PHP工匠優化處理後安裝-CMD事件,錯誤代碼255
當我運行laravel new
,我得到這個錯誤:
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
> php -r "file_exists('.env') || copy('.env.example', '.env');"
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Script php artisan optimize handling the post-install-cmd event returned with error code 255
Application ready! Build something amazing.
謝謝你的回覆,雷。我克隆了laravel項目。所以我該怎麼做? –
@ C.Sing,你不需要克隆laral項目,嘗試閱讀文檔。命令'Laravel new projectName'將爲您創建一個新的laravel項目 –