"Target class [nova] does not exist." trying to deploy to Heroku #6554
Unanswered
andrewheins
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've got a Laravel 9 application using Nova 4.35.2 that we've got working locally, but we're running into issues getting it to load the Nova routes when we deploy it to Heroku.
We're consistently getting "Target class [nova] does not exist." when we try to load the Nova routes.
I'm inclined to think this is related to trying to load the 'nova' middleware group, as I found a SO answer that says "The "target class [class] does not exist" is the error message thrown when a middleware by alias is not found.", which tracks. I've tried commenting out that line in the
config/nova.php
file, and I started getting different errors.Here's a full stack trace:
We've run the composer install, we've migrated the DB, and cleared all of our caches, but we can't seem to figure out how to step past this issue.
Any guidance y'all might be able to point me at to resolve this would be hugely appreciated.
Beta Was this translation helpful? Give feedback.
All reactions