我正在尝试在全新安装时为 laravel 安装 Argon 模板,除了用有效的数据库信息填写 .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并且在运行时composer require laravel-frontend-presets/argon我收到错误λ 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.为什么是这样?
添加回答
举报
0/150
提交
取消