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

Incorrect Package Names in Composer.Local.json #29

Open
pomeroyb opened this issue Mar 19, 2020 · 3 comments
Open

Incorrect Package Names in Composer.Local.json #29

pomeroyb opened this issue Mar 19, 2020 · 3 comments

Comments

@pomeroyb
Copy link

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

@SpottedPaint
Copy link

@pomeroyb Thank you your information that got me past the composer stage. Did you manage to get a full install? The tuturial form doesn't seem to be working for me, I'm getting a simpler one box form.

@pomeroyb
Copy link
Author

pomeroyb commented May 5, 2020

I would say I've managed to get a 90% install. Still has some small issues but it's good enough for my purposes.

Not quite sure what you mean by one box form. Make sure you're running the international version of initWikifab.
sudo php maintenance/initWikifab.php --setWikifabHomePage --int

You should be seeing the forms showing up nearly as they do on the Wikifab page. The only thing missing should be the text editor toolbar, which you can triage by looking at this issue: #24

@SpottedPaint
Copy link

Thanks.

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

2 participants