Hi, great posts. When I press F5 to launch both front and back end, I always got System.AggregateException: One or more errors occurred. (One or more errors occurred. (Failed to start 'npm'. To resolve this:.error. I ensure npm was installed successful and work in cmd and bash shell on my machine. Do you have any solution? thanks
Hi, great posts. When I press F5 to launch both front and back end, I always got System.AggregateException: One or more errors occurred. (One or more errors occurred. (Failed to start 'npm'. To resolve this:.error. I ensure npm was installed successful and work in cmd and bash shell on my machine. Do you have any solution? thanks
Thanks!
Have you tried reinstalling Node?
Do you use a Docker container? Make sure Node is installed in that Docker image.
spa.Options.SourcePath = "ClientApp";
This could be your problem. If you want just give it the full path like:
spa.Options.SourcePath = @"C:\'PATH TO CLIENTAPP';