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

Unresolvable dependency resolving [Parameter #1 [ <required> $customStubPath #333

Open
KalimeroMK opened this issue Apr 12, 2020 · 2 comments

Comments

@KalimeroMK
Copy link

on update

In Container.php line 993:
                                                                               
  Unresolvable dependency resolving [Parameter #1 [ <required> $customStubPath ]] in class Illuminate\Database\Migrations\MigrationCreator
FlashWS pushed a commit to FlashWS/baum that referenced this issue Apr 21, 2020
@chrisgonzales
Copy link

Just now updating an old php 5 project and came across this error. Found that this may be related to this topic laravel/framework#31978

It basically says add a default of null to the customStubPath. I gave it a shot added it to Baum\Console\MigrationCreator.php and it killed the error at least. So hopefully this may help with a proper solution.

    /**
     * Create a new migration creator instance.
     *
     * @param  \Illuminate\Filesystem\Filesystem  $files
     * @param  string  $customStubPath
     * @return void
     */
    public function __construct(Filesystem $files, $customStubPath = null)
    {
        parent::__construct($files, $customStubPath);
    }```

ChrisThompsonTLDR added a commit to ChrisThompsonTLDR/baum that referenced this issue Apr 26, 2020
@tejas-webmavens
Copy link

@chrisgonzales Thanks, it worked for me as well.

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

3 participants