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

Cannot install laravel-arangodb on clean install of Laravel 11 #156

Closed
chrisny454 opened this issue Aug 17, 2024 · 3 comments · Fixed by #157
Closed

Cannot install laravel-arangodb on clean install of Laravel 11 #156

chrisny454 opened this issue Aug 17, 2024 · 3 comments · Fixed by #157

Comments

@chrisny454
Copy link

I tried installing this package on a brand new instance of Laravel to test it out and I am getting this error? What could I be doing wrong?

LaravelFreelancerNL\Aranguent\Console\Migrations\MigrateMakeCommand::__construct(): Argument #1 ($creator) must be of type LaravelFreelancerNL\Aranguent\Migrations\MigrationCreator, Illuminate\Database\Migrations\MigrationCreator given, called in /home/site/wwwroot/vendor/laravel-freelancer-nl/aranguent/src/Providers/CommandServiceProvider.php on line 85

at vendor/laravel-freelancer-nl/aranguent/src/Console/Migrations/MigrateMakeCommand.php:31

image

We really would like to see what it can do since ArangoDB is a better solution for a database for speed over MySQL on large datasets.

Thanks,

Chris

@LaravelFreelancerNL
Copy link
Owner

I've reproduced the error and am fixing it

@LaravelFreelancerNL LaravelFreelancerNL linked a pull request Aug 18, 2024 that will close this issue
@LaravelFreelancerNL
Copy link
Owner

I've located the problem. For some odd reason an old version (0.13) was being installed which caused the error.

To solve this you have to set the minimum stability to beta,and prefer-stable to false in your composer json.
I've improved the install instructions in the readme.

If you don't want to reinstall laravel you can force the latest package version with the following command:
composer require laravel-freelancer-nl/aranguent:v1.0.0-beta.10 laravel-freelancer-nl/fluentaql:2.1.1

This will also update fluentaql which probably got locked to an old version as well during the previously failed install.

Thanks for bringing this problem to my attention. Let me know if you need any further help.

Enjoy

@chrisny454
Copy link
Author

Thank you for that tip. I was able to get it working now. Looking forward to seeing what it can do.

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

Successfully merging a pull request may close this issue.

2 participants