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

Composer require throws error, Version not available (only dev-*) #306

Closed
Kayu84 opened this issue Feb 7, 2023 · 3 comments
Closed

Composer require throws error, Version not available (only dev-*) #306

Kayu84 opened this issue Feb 7, 2023 · 3 comments

Comments

@Kayu84
Copy link

Kayu84 commented Feb 7, 2023

Using Composer 2.2.4
composer show -a clickstorm/cs-seo

name     : clickstorm/cs-seo
descrip. : [clickstorm] SEO - Extension for TYPO3. Enables important onpage features for search engine optimization (SEO). Expands the page settings and any desired records for example with a preview for Google search results (SERP) Structured Data (JSON-LD) and a Focus Keyword. Restrictive hreflang and canonical tags. Modules for metadata of records and alternative texts of images. Further features are shown in the extension manual.
keywords : extension, seo, typo3, clickstorm
versions : dev-master, dev-6x, dev-TYPO3-12, dev-3x, dev-2x, dev-1x, dev-5x, dev-4x
type     : typo3-cms-extension
license  : GNU General Public License v2.0 or later (GPL-2.0-or-later) (OSI approved) https://spdx.org/licenses/GPL-2.0-or-later.html#licenseText
homepage : https://www.clickstorm.de
source   : [git] https://github.com/clickstorm/cs_seo.git 3004b6bc8b5643907576ce5be877629335c0f6a0
dist     : [zip] https://api.github.com/repos/clickstorm/cs_seo/zipball/3004b6bc8b5643907576ce5be877629335c0f6a0 3004b6bc8b5643907576ce5be877629335c0f6a0
names    : clickstorm/cs-seo, typo3-ter/cs-seo, clickstorm/cs_seo

support
issues : https://github.com/clickstorm/cs_seo/issues
source : https://github.com/clickstorm/cs_seo/tree/master

autoload
psr-4
Clickstorm\CsSeo\ => Classes/

requires
typo3/cms-core ^11.2
typo3/cms-seo ^11.2

requires (dev)
typo3/testing-framework *
phpstan/phpstan *
typo3/coding-standards *

replaces
typo3-ter/cs-seo self.version
clickstorm/cs_seo self.version

Cannot require specific Version (e.g. 4.3.1)

composer require clickstorm/cs-seo:4.3.1

  Problem 1
    - Root composer.json requires clickstorm/cs-seo 4.3.1, found clickstorm/cs-seo[dev-master, dev-TYPO3-12, dev-1x, dev-2x, dev-3x, dev-4x, dev-5x, dev-6x] but it does not match the constraint.
@Kayu84
Copy link
Author

Kayu84 commented Feb 7, 2023

Well, what's working:
composer require clickstorm/cs_seo:4.3.1
But https://packagist.org/packages/clickstorm/cs_seo says, do use https://packagist.org/packages/clickstorm/cs-seo instead... but while there are only "dev-" available... you wouldn't use that...

Going with a workaround and using zip and path-type-repository instead ...

@mhirdes
Copy link
Collaborator

mhirdes commented Feb 17, 2023

did you tried a composer clearcache

@Kayu84
Copy link
Author

Kayu84 commented Feb 20, 2023

@mhirdes
Well, nice... thank you, composer clearcache before composer require clickstorm/cs-seo:4.3.1 works.

@Kayu84 Kayu84 removed their assignment Feb 20, 2023
@mhirdes mhirdes closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants