-
Notifications
You must be signed in to change notification settings - Fork 10.4k
WebSPA returns 404 when started from VS2017 on both Windows and macOS #973
Comments
WebSPA and Build logs attached... |
Hi @mvelosop I've got ... Richards-MacBook-Pro:eShopOnContainers richard$ dotnet --list-sdks |
Ok, try installing at least 2.2.201, that's the one I'm using now. |
The latest download I can find is for SDK 2.2.105 - are you running a dev build? |
Hi @mvelosop Problem solved on both macOS and Windows 10! Many thanks for your help. |
Glad to know you could make it work @richard-ashby! I was intrigued by the 2.2.201 SDK too, as it wasn't in my downloads folder! Upon some research I found out it was installed by VS 2019! Cheers! |
Issue raised as requested by @mvelosop
I noticed that the WebSPA doesn't appear to work (http://localhost:5104/ returns 404) when app started from VS2017 (both Windows and macOS), however it does work when docker-compose up is run using the CLI.
WebSPA and Build logs to follow.
Possible cause: Following taken from the WebSPA output ...
[10:54:16 ERR] ERROR in GetPreconfiguredImages: Value cannot be null.
Parameter name: path1
System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine(String path1, String path2, String path3)
at WebSPA.Infrastructure.WebContextSeed.GetPreconfiguredImages(String contentRootPath, String webroot, ILogger log) in /Users/richard/Projects/eShopOnContainers/src/Web/WebSPA/Server/Infrastructure/WebContextSeed.cs:line 44
Originally posted by @richard-ashby in #107 (comment)
The text was updated successfully, but these errors were encountered: