AspNetSPA_SvelteKit icon indicating copy to clipboard operation
AspNetSPA_SvelteKit copied to clipboard

Error when starting application

Open vankampenp opened this issue 1 year ago • 0 comments

After following the blog post, I got this error when trying to run the example. After cloning the template, I got the same error. It can't find 'vite.cmd'.

Microsoft.AspNetCore.SpaProxy.SpaProxyLaunchManager: Information: No SPA development server running at http://localhost:5173 found. Microsoft.AspNetCore.SpaProxy.SpaProxyLaunchManager: Error: Failed to launch the SPA development server 'vite dev'.

System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'vite.cmd' with working directory 'C:\Users\vankampenp\Source\Repos\AspNetSPA_SvelteKit\AspNetSPA_SvelteKit\ClientApp'. Het systeem kan het opgegeven bestand niet vinden. at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at Microsoft.AspNetCore.SpaProxy.SpaProxyLaunchManager.LaunchDevelopmentProxy()

vankampenp avatar Apr 23 '23 18:04 vankampenp