knock-knock
knock-knock copied to clipboard
Craft 5 upgrade issue
Describe the bug
Running composer update as per the Craft 5 upgrade I'm getting an error for Knock Knock:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- verbb/knock-knock 3.0.0-beta.1 requires verbb/base ^3.0.0-beta.1 -> found verbb/base[3.0.0-beta.1] but it does not match your minimum-stability.
- Root composer.json requires verbb/knock-knock 3.0.0-beta.1 -> satisfiable by verbb/knock-knock[3.0.0-beta.1].
Seems slightly odd to me as looks like I do have the minimum required version...
Steps to reproduce
- Follow upgrade instructions for Craft 5 and add new versions for all plugins in composer.json
- run composer update
Craft CMS version
2.0.48.1
Plugin version
2.0.11
Multi-site?
no
Added "verbb/base": "3.0.0-beta.1", to my composer.json which seems to have sorted this...
Strange, that should be all means work, and you shouldn't need to require verbb/base specifically.
You might like to try: composer require "verbb/knock-knock:^3.0.0-beta.1" -w
Couldnt quite get that to work - running as part of the Craft 5 upgrade process it wouldn't allow me to install using the above require command due to requiring Craft 5, but I cant install Craft 5 without upgrading knock knock...so I just added the base again...
Thanks for letting me know, I'll continue to look into what's going on here. I've yet to encounter this one in the wild.
One other thing to check was your minimum-stability setting in composer.json if you have that set.