3
我在Magento-2中開發了一個擴展。當在Magento官方網站上上傳這個擴展名時,他們會發送一些包中的錯誤。當我在生產模式下檢查它時,它沒有顯示任何錯誤。請幫助我創建正確的Magento-2擴展包。如何創建Magento-2擴展包以便在Magento-2官方網站上進行上傳?
錯誤
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for magento/magento2ce 2.0.13 -> satisfiable by magento/magento2ce[2.0.13].
- company/module-extensionname 1.0.0 requires magento/framework 100.1.* -> satisfiable by magento/framework[100.1.0-rc1, 100.1.0-rc2, 100.1.0-rc3, 100.1.0, 100.1.1, 100.1.2, 100.1.3, 100.1.4, 100.1.5, 100.1.6, 100.1.7].
- don't install magento/framework 100.1.0-rc1|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.0-rc2|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.0-rc3|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.0|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.1|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.2|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.3|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.4|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.5|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.6|remove magento/magento2ce 2.0.13
- don't install magento/framework 100.1.7|remove magento/magento2ce 2.0.13
- Installation request for comapny/module-extensionname 1.0.0 -> satisfiable by comapny/module-extensionname[1.0.0].
Installation failed, reverting ./composer.json to its original content.
[Pipeline] }
[Pipeline] // stage
[Pipeline] sh
[DockerOperationsPHP70Magento20CEVarnish] Running shell script
+ echo Failure
composer.json
{
"name": "company/module-extensionname",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"type": "magento2-module",
"version": "1.0.0",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0",
"magento/framework": "100.1.*"
},
"authors": [
{
"name": "Tomas Jindal",
"email": "[email protected]test.com",
"homepage": "https://stackoverflow.com",
"role": "Developer"
}
],
"autoload": {
"files": [ "registration.php" ],
"psr-4": {
"company\\extensionname\\": ""
}
}
}
[如何解決「您的要求不能被解析到一個安裝一套包」的錯誤?(HTTPS的可能重複: //stackoverflow.com/questions/29318709/how-can-i-resolve-your-requirements-could-not-be-resolved-to-an-installable-set) –