laravelをCirclrCiにビルドしようとすると下記のようなエラーが出てしまいます。
このエラーはComposerでインストールできていないものがあることによるエラーなのでしょうか?
調べてもあまり情報が出てこないため困っています。
ご存知の方がいましたら、回答いただけたら幸いです。よろしくお願いいたします。
build1 composer install -n --prefer-dist 0s #!/bin/bash -eo pipefail composer install -n --prefer-dist 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.33) does not satisfy that requirement. Problem 2 - Installation request for doctrine/lexer 1.2.0 -> satisfiable by doctrine/lexer[1.2.0]. - doctrine/lexer 1.2.0 requires php ^7.2 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 3 - Installation request for laravel/framework v6.15.1 -> satisfiable by laravel/framework[v6.15.1]. - laravel/framework v6.15.1 requires php ^7.2 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 4 - Installation request for laravel/tinker v2.2.0 -> satisfiable by laravel/tinker[v2.2.0]. - laravel/tinker v2.2.0 requires php ^7.2 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 5 - Installation request for monolog/monolog 2.0.2 -> satisfiable by monolog/monolog[2.0.2]. - monolog/monolog 2.0.2 requires php ^7.2 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 6 - Installation request for symfony/css-selector v5.0.4 -> satisfiable by symfony/css-selector[v5.0.4]. - symfony/css-selector v5.0.4 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 7 - Installation request for symfony/mime v5.0.4 -> satisfiable by symfony/mime[v5.0.4]. - symfony/mime v5.0.4 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 8 - Installation request for symfony/service-contracts v2.0.1 -> satisfiable by symfony/service-contracts[v2.0.1]. - symfony/service-contracts v2.0.1 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 9 - Installation request for symfony/translation-contracts v2.0.1 -> satisfiable by symfony/translation-contracts[v2.0.1]. - symfony/translation-contracts v2.0.1 requires php ^7.2.5 -> your PHP version (7.1.33) does not satisfy that requirement. Problem 10 - Installation request for phpdocumentor/reflection-docblock 5.0.0 -> satisfiable by phpdocumentor/reflection-docblock[5.0.0]. - phpdocumentor/reflection-docblock 5.0.0 requires php ^7.2 -> your PHP version (7.1.33) does not satisfy that requirement. Exited with code exit status 2 CircleCI received exit code 2
回答ありがとうございます!
eb initコマンドでもphp7.3を選択しました。
.circleci/config.ymlの中で下記のように - image: circleci/php:7.3-stretch-node-browsers としているのですが、これとは違うのでしょうか?
version: 2 jobs: build: docker: - image: circleci/php:7.3-stretch-node-browsers
phpのバージョンは php -v , phpinfo()で確認しましたが、どちらも7.2です
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/02/17 13:13 編集