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

Coravel.Pro Boilerplate fails to start #356

Open
woutervanranst opened this issue Dec 26, 2023 · 1 comment
Open

Coravel.Pro Boilerplate fails to start #356

woutervanranst opened this issue Dec 26, 2023 · 1 comment
Assignees

Comments

@woutervanranst
Copy link

I have no experience with Coravel and wanted to give the Pro (esp. the Dashboard) features a go to evaluate vs Hangfire/Quartz.
However I do not get it up and running.

I tried the VS2022 boilerplate examples for a aspnet core web api / aspnet core w razor / the ef6 sample from the docs and followed the steps from the docs but i keep getting this issue

System.InvalidOperationException: 'No service for type 'Coravel.Pro.Features.Jobs.UseCases.MarkJobsKilledByTerminatedProcessCommand' has been registered.'

image

What am I missing here?

@jamesmh
Copy link
Owner

jamesmh commented Jan 8, 2024

In ConfigureServices() did you call services.AddCoravelPro(typeof(ApplicationDbContext));?

This step is here in the docs. Let me know if that's the issue or not - thanks!

@jamesmh jamesmh self-assigned this Jan 8, 2024
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