Open vy-shmal opened 3 years ago
did you sort this out ??
@Watch3ruk nope haven't found time yet.
This has been patched in the magento-commerce/develop
line, and it appears the sync job has not pulled that down yet. While I investigate getting branch syncing back up, if you need an immediate fix you can fork and apply this patch. I believe we're targeting an October release, but I'll see if we can publish these fixes ahead of PWA Studio.
i can make the changes but how to make magento use my fork ? all the "google" solutions didn't help .
Merge this snippet into your composer.json
and it should prefer your branch over the packagist version.
{
"repositories": {
"upward": {
"type": "github",
"url": "git@github.com:<your-org-or-username>/upward-php.git"
}
},
"require": {
"magento/upward": "dev-<branch-with-patch> as 1.1.6"
}
}
Merge this snippet into your
composer.json
and it should prefer your branch over the packagist version.{ "repositories": { "upward": { "type": "github", "url": "git@github.com:<your-org-or-username>/upward-php.git" } }, "require": { "magento/upward": "dev-<branch-with-patch> as 1.1.6" } }
Thanks , that worked . for others ( new to this like me ) edit composer by adding
"require": { "magento/composer-dependency-version-audit-plugin": "~0.1", "magento/composer-root-update-plugin": "~1.1", "magento/module-upward-connector": "^1.2", "magento/product-community-edition": "2.4.3", ++ "magento/upward": "dev-laminas as 1.1.5" }, "autoload": { (
"repositories": [ { "type": "composer", "url": "https://repo.magento.com/" },{
"type": "github",
"url": "git@github.com:Watch3ruk/upward-php.git"
}
],
After apply the patch i am getting the below error
How can i fix this issue ?
should not , as this fixes the issue . make a backup of your composer, and use this one .
{ "name": "magento/project-community-edition", "description": "eCommerce Platform for Growth (Community Edition)", "type": "project", "license": [ "OSL-3.0", "AFL-3.0" ], "config": { "preferred-install": "dist", "sort-packages": true }, "version": "2.4.3", "require": { "magento/composer-dependency-version-audit-plugin": "~0.1", "magento/composer-root-update-plugin": "~1.1", "magento/module-upward-connector": "^1.2", "magento/product-community-edition": "2.4.3", "magento/upward": "dev-laminas as 1.1.5" }, "autoload": { "exclude-from-classmap": [ "/dev/", "/update/", "/Test/" ], "files": [ "app/etc/NonComposerComponentRegistration.php" ], "psr-0": { "": [ "app/code/", "generated/code/" ] }, "psr-4": { "Magento\": "app/code/Magento/", "Magento\Framework\": "lib/internal/Magento/Framework/", "Magento\Setup\": "setup/src/Magento/Setup/" } }, "require-dev": { "allure-framework/allure-phpunit": "~1.4", "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", "friendsofphp/php-cs-fixer": "~2.18.1", "lusitanian/oauth": "~0.8.10", "magento/magento-coding-standard": "", "magento/magento2-functional-testing-framework": "^3.0", "pdepend/pdepend": "~2.7.1", "phpcompatibility/php-compatibility": "^9.3", "phpmd/phpmd": "^2.8.0", "phpstan/phpstan": "^0.12.77", "phpunit/phpunit": "^9", "sebastian/phpcpd": "^6.0.3", "squizlabs/php_codesniffer": "~3.5.4", "symfony/finder": "^5.2" }, "conflict": { "gene/bluefoot": "" }, "autoload-dev": { "psr-4": { "Magento\PhpStan\": "dev/tests/static/framework/Magento/PhpStan/", "Magento\Sniffs\": "dev/tests/static/framework/Magento/Sniffs/", "Magento\TestFramework\Inspection\": "dev/tests/static/framework/Magento/TestFramework/Inspection/", "Magento\TestFramework\Utility\": "dev/tests/static/framework/Magento/TestFramework/Utility/", "Magento\Tools\": "dev/tools/Magento/Tools/", "Magento\Tools\Sanity\": "dev/build/publication/sanity/Magento/Tools/Sanity/" } }, "minimum-stability": "stable", "prefer-stable": true, "repositories": [ { "type": "composer", "url": "https://repo.magento.com/" },{
"type": "github",
"url": "git@github.com:Watch3ruk/upward-php.git"
}
],
"extra": {
"magento-force": "override"
}
}
I am using the Enterprise Edition 2.4.3 and getting some issue while replacing composer.json file. Can you confirm if same json should work for Enterprise Edition ?
Magento 2.4.2
Trying to make venia work and cant install the module-upward-connector
After running
composer require magento/module-upward-connector
getting this error.If I run
composer require magento/module-upward-connector 1.2.0
How can I overcome this issue.