Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed #23

Open
gerrnp opened this issue Oct 23, 2021 · 1 comment
Open

Installation failed #23

gerrnp opened this issue Oct 23, 2021 · 1 comment

Comments

@gerrnp
Copy link

gerrnp commented Oct 23, 2021

[InvalidArgumentException]
Could not find a version of package codenom/midtrans matching your minimum-stability (stable). Require it with an e
xplicit version constraint allowing its desired stability.

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

@gerrnp
Copy link
Author

gerrnp commented Oct 25, 2021

change composer.json
"require": {
"php": "^7.3 || ^8.0",
"codeigniter4/framework": "^4",
"jason-napolitano/codeigniter4-cart-module": "^1.1",
"laminas/laminas-json": "~3.2",
"codenom/midtrans":"dev-master"
}

jalankan ini di terminal
composer update --ignore-platform-reqs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant