How to make and install my module via composer with two private repositories in magento 2
Why would space fleets be aligned?
Why avoid shared user accounts?
Move fast ...... Or you will lose
Why exactly do action photographers need high fps burst cameras?
Can I make estimated tax payments instead of withholding from my paycheck?
use of 4/2 chord more compelling than root position?
How do you funnel food off a cutting board?
How much mayhem could I cause as a sentient fish?
Words and Words with "ver-" Prefix
How would an AI self awareness kill switch work?
What are "industrial chops"?
Am I a Rude Number?
Finding a logistic regression model which can achieve zero error on a training set training data for a binary classification problem with two features
Play Zip, Zap, Zop
What would be the rarity of this magic item(s)?
kill -0 <PID> は何をするのでしょうか?
Positioning node within rectangle Tikz
How should I handle players who ignore the session zero agreement?
Is boss over stepping boundary/micromanaging?
A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?
Flipping axis on a LogPlot
Non-Cancer terminal illness that can affect young (age 10-13) girls?
Why am I able to open Wireshark in macOS without root privileges?
Why is it that Bernie Sanders is always called a "socialist"?
How to make and install my module via composer with two private repositories in magento 2
Problem Description:
I have created two private repositories in github under same user name.
Each repository contains different modules. But while trying to install the package via composer throws error.
Repository 1 :
Composer.json
{
"name": "xxx/module-abc",
"description": "N/A",
"type": "magento2-module",
"version": "1.0.0",
"autoload": {
"psr-4": { "Vendorname\abc\": "" },
"files": [ "registration.php" ]
}
}
Repository 2:
composer.json
{
"name": "xxx/module-psr",
"description": "N/A",
"type": "magento2-module",
"version": "1.1.0",
"require": {
"xxx/module-abc": "*"
},
"autoload": {
"psr-4": { "vendorname\psr\": "" },
"files": [ "registration.php" ]
}
}
While tring to install to my instance , I have added below code in my
Magento root's composer.json
composer.json
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
},{"type": "git",
"url": "https://github.com/xxx/module-psr"}
],
Running the below command in terminal
composer require xxx/module-psr:dev-master
It throws below error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for xxx/module-psr dev-master -> satisfiable by xxx/module-psr[dev-master].
- xxx/module-psr dev-master requires xxx/module-abc * -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Please provide me a solution to install the module via composer
module installation magento2.3 composer github
add a comment |
Problem Description:
I have created two private repositories in github under same user name.
Each repository contains different modules. But while trying to install the package via composer throws error.
Repository 1 :
Composer.json
{
"name": "xxx/module-abc",
"description": "N/A",
"type": "magento2-module",
"version": "1.0.0",
"autoload": {
"psr-4": { "Vendorname\abc\": "" },
"files": [ "registration.php" ]
}
}
Repository 2:
composer.json
{
"name": "xxx/module-psr",
"description": "N/A",
"type": "magento2-module",
"version": "1.1.0",
"require": {
"xxx/module-abc": "*"
},
"autoload": {
"psr-4": { "vendorname\psr\": "" },
"files": [ "registration.php" ]
}
}
While tring to install to my instance , I have added below code in my
Magento root's composer.json
composer.json
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
},{"type": "git",
"url": "https://github.com/xxx/module-psr"}
],
Running the below command in terminal
composer require xxx/module-psr:dev-master
It throws below error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for xxx/module-psr dev-master -> satisfiable by xxx/module-psr[dev-master].
- xxx/module-psr dev-master requires xxx/module-abc * -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Please provide me a solution to install the module via composer
module installation magento2.3 composer github
add a comment |
Problem Description:
I have created two private repositories in github under same user name.
Each repository contains different modules. But while trying to install the package via composer throws error.
Repository 1 :
Composer.json
{
"name": "xxx/module-abc",
"description": "N/A",
"type": "magento2-module",
"version": "1.0.0",
"autoload": {
"psr-4": { "Vendorname\abc\": "" },
"files": [ "registration.php" ]
}
}
Repository 2:
composer.json
{
"name": "xxx/module-psr",
"description": "N/A",
"type": "magento2-module",
"version": "1.1.0",
"require": {
"xxx/module-abc": "*"
},
"autoload": {
"psr-4": { "vendorname\psr\": "" },
"files": [ "registration.php" ]
}
}
While tring to install to my instance , I have added below code in my
Magento root's composer.json
composer.json
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
},{"type": "git",
"url": "https://github.com/xxx/module-psr"}
],
Running the below command in terminal
composer require xxx/module-psr:dev-master
It throws below error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for xxx/module-psr dev-master -> satisfiable by xxx/module-psr[dev-master].
- xxx/module-psr dev-master requires xxx/module-abc * -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Please provide me a solution to install the module via composer
module installation magento2.3 composer github
Problem Description:
I have created two private repositories in github under same user name.
Each repository contains different modules. But while trying to install the package via composer throws error.
Repository 1 :
Composer.json
{
"name": "xxx/module-abc",
"description": "N/A",
"type": "magento2-module",
"version": "1.0.0",
"autoload": {
"psr-4": { "Vendorname\abc\": "" },
"files": [ "registration.php" ]
}
}
Repository 2:
composer.json
{
"name": "xxx/module-psr",
"description": "N/A",
"type": "magento2-module",
"version": "1.1.0",
"require": {
"xxx/module-abc": "*"
},
"autoload": {
"psr-4": { "vendorname\psr\": "" },
"files": [ "registration.php" ]
}
}
While tring to install to my instance , I have added below code in my
Magento root's composer.json
composer.json
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
},{"type": "git",
"url": "https://github.com/xxx/module-psr"}
],
Running the below command in terminal
composer require xxx/module-psr:dev-master
It throws below error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for xxx/module-psr dev-master -> satisfiable by xxx/module-psr[dev-master].
- xxx/module-psr dev-master requires xxx/module-abc * -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Please provide me a solution to install the module via composer
module installation magento2.3 composer github
module installation magento2.3 composer github
asked 3 mins ago
JaisaJaisa
8051936
8051936
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263788%2fhow-to-make-and-install-my-module-via-composer-with-two-private-repositories-in%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263788%2fhow-to-make-and-install-my-module-via-composer-with-two-private-repositories-in%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown