Closed drew1two closed 4 years ago
Looks like I've got a composer version conflict... looking into it
Found this from deployer creator:-
https://github.com/deployphp/deployer/issues/1981
deployed.org is online. And yes I was in rush for Symfony 5 and introduced BC. I’m gonna fix it be releasing v7 with Symfony 5 only return compatibility with PHP 7.0. Or you can fix version of deployer in composer.json. What do you think?
Can we take his advice try use 6.7.2 version instead?
Actually looks like it's 6.6.0. Going to try it.. if it works I'll let you know... :)
make sure you don't us minimum-stability: dev in your composer.json
please past your composer.json here, so we are able to reproduce and help, otherwise not
using composer require luyadev/luya-deployer --dev gives the above error.
{ "name": "luyadev/luya-kickstarter", "description": "The kickstarter project for a new LUYA application.", "type": "luya-kickstarter", "license":"MIT", "require": { "luyadev/luya-core" : "^1.0", "luyadev/luya-module-admin" : "^2.0", "luyadev/luya-module-cms" : "^2.0", "luyadev/luya-bootstrap3" : "^1.0", "luyadev/luya-generic" : "^2.0" }, "require-dev": { "yiisoft/yii2-gii" : "^2.0", "yiisoft/yii2-debug" : "^2.0", "luyadev/luya-testsuite" : "^1.0" }, "scripts": { "post-create-project-cmd": [ "yii\composer\Installer::postCreateProject" ] }, "extra": { "yii\composer\Installer::postCreateProject": { "setPermission": [ { "public_html/assets": "0777", "public_html/storage": "0777", "runtime" : "0777" } ] }, "asset-installer-paths": { "bower-asset-library": "vendor/bower" }, "branch-alias": { "dev-master": "1.0.x-dev" } }, "config": { "fxp-asset": { "enabled": false } }, "repositories": [ { "type": "composer", "url": "https://asset-packagist.org" } ] }
composer self-update
luyadev/luya-deployer":"^1.0"
and run composer updateYou are already using composer version 1.9.2 (stable channel).
putting it in composer.json directly now
I also removed the composer.lock file and released 1.0.8.1 - this might help as well
luyadev/luya-deployer":"^1.0" worked :) It 'Downgrading symfony/process (v4.4.2 => v3.4.36)' :)
composer update Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 39 installs, 1 update, 0 removals
Is symphony/process running at 3.4 instead of 4.4 going to cause you problems with luya?
Found another Basil :( Must be me :)
What steps will reproduce the problem?
composer require luyadev/luya-deployer --dev
What is the expected result?
install luya-deployer
What do you get instead? (A Screenshot can help us a lot!)
LUYA Check ouput (run this script and post the result: luyacheck.php)
I removed the mod_rewrite check as it was erroring cause I use nginx php-fpm. The rest are:-
1: [ini_get('short_open_tag')] ''
2: [ini_get('error_reporting')] '22527'
3: [phpversion()] '7.2.26'
4: [php_ini_loaded_file()] '/etc/php.ini'
5: [php_sapi_name()] 'cli'
PHP Warning: Use of undefined constant unknown - assumed 'unknown' (this will throw an Error in a future version of PHP) in /web/luya-kickstarter/public_html/luyacheck.php(22) : eval()'d code on line 1
Additional infos