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

Unable to install #7

Closed
relayer464 opened this issue Dec 21, 2021 · 5 comments
Closed

Unable to install #7

relayer464 opened this issue Dec 21, 2021 · 5 comments

Comments

@relayer464
Copy link

Greetings,

This looks like a very useful package. Unfortunately after I install it and navigate to the "migrator" URL I get the following error:

ErrorException Undefined offset: 1 (View: C:\laragon\www\test_project\vendor\rezaamini-ir\migrator\resources\views\livewire\migration\read.blade.php)

Is there a compatibility issue with L8?

Thanks!

@reziamini
Copy link
Owner

I guess there is something wrong with the installation or there are some packages which are the cause of this conflict.
Please remove then reinstall the package using Composer.

@relayer464
Copy link
Author

Thank you for the suggestion. I tried removing and reinstalling the package but unfortunately I get the same error.

@reziamini
Copy link
Owner

Do you have a fresh installation of Laravel?
If you do, could you please tell me the exact version of your Laravel?

@relayer464
Copy link
Author

I just tried a fresh install with the latest version of laravel:

Laravel Framework 8.76.2

Now when I navigate the /migrator URL I just get a 404 error. I've tried clearing all caches and changing the config setting from "auth" to "web" but still get the 404. Any suggestions?

Thanks!

P.S. Here's what my composer.json file looks like in case it is helpful:

{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"kyslik/column-sortable": "^6.4",
"laravel/framework": "^8.75",
"laravel/jetstream": "^2.3",
"laravel/sanctum": "^2.11",
"laravel/tinker": "^2.5",
"livewire/livewire": "^2.0",
"nicolaslopezj/searchable": "^1.13",
"rezaamini-ir/migrator": "^1.3",
"spatie/laravel-permission": "^3.17"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6",
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^5.10",
"phpunit/phpunit": "^9.5.10"
},
"autoload": {
"psr-4": {
"App\": "app/",
"Database\Factories\": "database/factories/",
"Database\Seeders\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}

@reziamini
Copy link
Owner

It was fixed in 1.4.0 tag.
#9 Follow this issue and update the package, 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