前提・実現したいこと
laravel new プロジェクト名として作成ができません。
今まではこの方法でしていたのですが、突然できなくなりました。
原因の解決方法を教えて頂けないでしょうか
発生している問題・エラーメッセージ
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- This package requires php ^7.2 but your PHP version (7.1.23) does not satisfy that requirement.
Problem 2
- Installation request for doctrine/lexer 1.1.0 -> satisfiable by doctrine/lexer[1.1.0].
- doctrine/lexer 1.1.0 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
Problem 3
- Installation request for laravel/framework v6.0.1 -> satisfiable by laravel/framework[v6.0.1].
- laravel/framework v6.0.1 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
Problem 4
- Installation request for monolog/monolog 2.0.0 -> satisfiable by monolog/monolog[2.0.0].
- monolog/monolog 2.0.0 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
Problem 5
- Installation request for phpunit/php-code-coverage 7.0.7 -> satisfiable by phpunit/php-code-coverage[7.0.7].
- phpunit/php-code-coverage 7.0.7 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
Problem 6
- Installation request for phpunit/phpunit 8.3.4 -> satisfiable by phpunit/phpunit[8.3.4].
- phpunit/phpunit 8.3.4 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
Problem 7
- Installation request for sebastian/global-state 3.0.0 -> satisfiable by sebastian/global-state[3.0.0].
- sebastian/global-state 3.0.0 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
Problem 8
- Installation request for sebastian/type 1.1.3 -> satisfiable by sebastian/type[1.1.3].
- sebastian/type 1.1.3 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
Problem 9
- doctrine/lexer 1.1.0 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
- egulias/email-validator 2.1.11 requires doctrine/lexer ^1.0.1 -> satisfiable by doctrine/lexer[1.1.0].
- Installation request for egulias/email-validator 2.1.11 -> satisfiable by egulias/email-validator[2.1.11].
Application ready! Build something amazing.
Kyu:desktop kyutaro$ php -version
PHP 7.1.23 (cli) (built: Feb 22 2019 22:19:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
該当のソースコード
laravel new a
補足情報(FW/ツールのバージョンなど)
laravel 5.8.35
PHP 7.1.23
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/09/10 04:14
2019/09/10 04:22 編集
2019/09/20 08:28