You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested, I simply pressed F5 in VSCode, after that, a whole bunch of words come out, taking at least 5 seconds till I see the green words implying the build is successful. When I visit localhost:5000, I can see the website, which is great. However, when I try to do "dotnet run" in cmd, the green words implying a successful build show within a second, which seems to be too fast, and when I visit localhost:5000, I get the error:
"System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request"
Is it that my node.js, or something skipped when running "dotnet run" in cmd? Or is it that I missed a command?
The text was updated successfully, but these errors were encountered:
As suggested, I simply pressed F5 in VSCode, after that, a whole bunch of words come out, taking at least 5 seconds till I see the green words implying the build is successful. When I visit localhost:5000, I can see the website, which is great. However, when I try to do "dotnet run" in cmd, the green words implying a successful build show within a second, which seems to be too fast, and when I visit localhost:5000, I get the error:
"System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request"
Is it that my node.js, or something skipped when running "dotnet run" in cmd? Or is it that I missed a command?
The text was updated successfully, but these errors were encountered: