Skip to content

Incorrect Package Names in Composer.Local.json #29

@pomeroyb

Description

@pomeroyb

If you are using Method # 2 from the README, and installing Wikifab using composer, you will get the following error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package wikifab/inputbox could not be found in any version, there may be a typo in the package name.
  Problem 2
    - The requested package wikifab/socialprofile could not be found in any version, there may be a typo in the package name.

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.
Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.

This is because InputBox and SocialProfile are named incorrectly in Composer.Local.json.

To fix, open composer.local.json

cd /var/www/yourwebsite
nano composer.local.json

Change
"wikifab/InputBox": "^128.2.0", to "wikifab/input-box": "^128.2.0",
and change
"wikifab/SocialProfile": "^1.8.0", to "wikifab/social-profile": "^1.8.0",

This can be confirmed by checking the packagist pages for input-box and social-profile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions