我正在嘗試在全新安裝時(shí)為 laravel 安裝 Argon 模板,除了用有效的數(shù)據(jù)庫(kù)信息填寫(xiě) .env此鏈接中氬文檔中的官方文檔:https ://argon-dashboard-laravel.creative-tim.com/docs/getting-started/quick-start.html指令是Cd to your Laravel appInstall this preset via composer require laravel-frontend-presets/argon. No need to register the service provider. Laravel 5.5 & up can auto detect the package.Run php artisan preset argon command to install the Argon preset. This will install all the necessary assets and also the custom auth views, it will also add the auth route in routes/web.php (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php)In your terminal run composer dump-autoloadRun php artisan migrate --seed to create basic users table并且在運(yùn)行時(shí)composer require laravel-frontend-presets/argon我收到錯(cuò)誤λ composer require laravel-frontend-presets/argonUsing version ^1.0 for laravel-frontend-presets/argon./composer.json has been updatedLoading composer repositories with package informationUpdating dependencies (including require-dev)Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel-frontend-presets/argon 1.0.1 requires laravel/framework 5.5 -> satisfiable by laravel/framework[v5.5.0] but these conflict with your requirements or minimum-stability. - laravel-frontend-presets/argon 1.0.0 requires laravel/framework 5.5.* -> satisfiable by laravel/framework[5.5.x-dev]. - Installation request for laravel-frontend-presets/argon ^1.0 -> satisfiable by laravel-frontend-presets/argon[1.0.0, 1.0.1, 1.0.11, 1.0.12, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, v1.0.10]. - Installation request for laravel/framework ^7.0 -> satisfiable by laravel/framework[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7].Installation failed, reverting ./composer.json to its original content.為什么是這樣?
添加回答
舉報(bào)
0/150
提交
取消