rgborges
rgborges
CC#
Created by Metalkon on 6/1/2023 in #help
❔ Cannot Run A New Project (Angular + ASP.NET Web API)
Just open your terminal, navigate until ClientApp folder and run ng serve .. you need to install @angular/cli npm package
11 replies
CC#
Created by Metalkon on 6/1/2023 in #help
❔ Cannot Run A New Project (Angular + ASP.NET Web API)
Because I’m this initials steps dotnet runs a script that calls ng serve for a specified port.. then the aspnet use a redirect page to proxy you to angular application
11 replies
CC#
Created by Metalkon on 6/1/2023 in #help
❔ Cannot Run A New Project (Angular + ASP.NET Web API)
Did you try run ng serve inside ClientApp folder and see if the same error is showed up?
11 replies
CC#
Created by Metalkon on 6/1/2023 in #help
❔ Cannot Run A New Project (Angular + ASP.NET Web API)
Hi, I recently had to create a asnet core app with angular for my studies here, the problem I had here in the default project was that I wasn't setted the ASPNETCORE_ENVIRONMENT global variable and didn't build the project before I run for the first time. But keep in mind I'm using LInux environment, so not sure if it's gonna work with you
11 replies