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 installation fails #5

Open
glewe opened this issue Jan 12, 2021 · 3 comments
Open

Composer installation fails #5

glewe opened this issue Jan 12, 2021 · 3 comments

Comments

@glewe
Copy link

glewe commented Jan 12, 2021

Hi there
I just installed Flarum 0.1.0-beta.15.
Running your composer directive in the flarum folder generates this error:

[InvalidArgumentException]
Could not find a matching version of package bokt/flarum-phpbb-migrate. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (beta).

How can install the script?

@jslirola
Copy link

Hi glewe,

This repository is not added to Packagist so you won't be able to install it using the default composer command. However there is another way to do it, first cloning this repo in your computer and adding it as if it were its own extension in development:

https://discuss.flarum.org/d/1608-extension-development-using-composer-repositories-path
https://discuss.flarum.org/d/15209-not-able-to-install-dev-extension

Regards.

@Restartz
Copy link

Restartz commented Apr 4, 2021

Bazaar seems obsolete and composer require bokt/flarum-phpbb-migrate won't work since it's not on Packagist. So the readme should probably be updated accordingly.

For future reference it's probably easiest to just add the following to your composer.json:

    "repositories":[
        {
            "type": "vcs",
            "url": "[email protected]:bokt/flarum-phpbb-migrate.git"
        }
    ],

and then add "bokt/flarum-phpbb-migrate": "dev-master" within the "require" section.

@MichaIng
Copy link

MichaIng commented Feb 25, 2022

Another issue is the flarum core version dependency, it doesn't work with latest flarum 😞. Since I cannot find a way to tell composer ignoring the version restrictions, the only way I can find is creating a fork and relaxing the flarum requirements.

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

4 participants