Autodiscovery refuses to work #246
-
I've been following the documentation, which says autodiscovery should work out of the box, but it refuses to work. The events are successfully stored in the database, but my projector is never fired so I don't see anything in the model's table. Here's my projector.
When I use the command line I'm not getting any error of any kind. All I see is that:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I can't seem to delete this so I'll post an update. I suspect that what happened is that since I'm using sail that at some point I copy pasted a command like and it picked my local (Windows) version of PHP so it installed one version of the package and I kept working and trying a bunch of stuff. So I might have accidentally broke something. I tried with a fresh installation of Laravel and just adding the bare minimum to make it work and it did. |
Beta Was this translation helpful? Give feedback.
I can't seem to delete this so I'll post an update.
I suspect that what happened is that since I'm using sail that at some point I copy pasted a command like and it picked my local (Windows) version of PHP so it installed one version of the package and I kept working and trying a bunch of stuff. So I might have accidentally broke something.
I tried with a fresh installation of Laravel and just adding the bare minimum to make it work and it did.