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

Issue with IJS Runtime #20

Open
M-Galassi opened this issue Jul 26, 2024 · 0 comments
Open

Issue with IJS Runtime #20

M-Galassi opened this issue Jul 26, 2024 · 0 comments

Comments

@M-Galassi
Copy link

M-Galassi commented Jul 26, 2024

Hello, I am encountering a problem with setting up a Blazor Web App project (Interactive Auto) .NET8. I get this error message:
InvalidOperationException: Cannot resolve scoped service 'Microsoft.JSInterop.IJSRuntime' from root provider.

I call my component in a client-side page and initialize the rest in Program.cs.

Do you have any suggestions for troubleshooting this issue?

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

1 participant