JiarongGu / ReactCoreTemplate

11 stars 2 forks source link

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. #1

Closed gfox1984 closed 5 years ago

gfox1984 commented 5 years ago

Hi,

Thanks for this example, but I'm having an issue when I clone the repo and run it:

spa error

I don't have such error when I run the default reactredux project that comes with .net core.

I'm on .net core 2.1.5 (2.1.403 SDK).

JiarongGu commented 5 years ago

you need to run the npm run build:all inside of ClientApp manually before run the donet core project, because this is not using the ReactScript which the .net core current monitoring on the console, which causing slowness for development