-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
This issue has been moved from a ticket on Developer Community.
I just created a project in angular with asp.net core and I get this error, I checked the paths that give me error and found nothing strange, I get the same error when trying to run from visual studio code or with "dotnet run", this does not happen if I create a project with angular cli in vs code, it only happens with vs. The project is brand new so I did not touch anything.
Error: Module not found: Error: Can't resolve 'C:/Users/ALEXANDER/Desktop/p/c#/Project1/Project1/ClientApp/src/app/nav-menu/nav-menu.component.css?ngResource' in 'C:\Users\ALEXANDER\Desktop\p\c#\Project1\Project1\ClientApp'
Error: Module not found: Error: Can't resolve 'C:\Users\ALEXANDER\Desktop\p\c#\Project1\Project1\ClientApp\node_modules\webpack-dev-server\client\index.js?protocol=auto%3A&username=&password=&hostname=0.0.0.0&port=0&pathname=%2fws&logging=info&reconnect=10' in 'C:\Users\ALEXANDER\Desktop\p\c#\Project1\Project1\ClientApp'
Error: The loader "C:/Users/ALEXANDER/Desktop/p/c#/Project1/Project1/ClientApp/src/app/nav-menu/nav-menu.component.css" didn't return a string.
Original Comments
Feedback Bot on 8/11/2022, 09:57 AM:
(private comment, text removed)
Original Solutions
(no solutions)