Skip to content

[Bug]: route:cache fail #7

Description

@beholdr

What happened?

When I run php artisan route:cache command with FolioMarkdown registered in FolioServiceProvider I don't see successful message Routes cached successfully. in console and there is no generated routes-v7.php file in the bootstrap/cache folder. When I comment out FolioMarkdown::register() line, everything is fine.

How to reproduce the bug

Just run php artisan route:cache

Package Version

v1.0.0-beta.1

PHP Version

8.2.0

Laravel Version

10.23.1

Which operating systems does with happen with?

Linux

Notes

I don't know why it's not working, but I saw similar issue with Livewire 3 that was fixed by replacing closures with methods. Maybe it's related somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions