I've just created an app, but I can't launch it.
Error: The loader “C:/C#/Angular/my-app/src/app/app.component.css” didn't return a string.


Trying to reinstall Angular,Node js but nothing helps...
I confirm that I can reproduce the problem if I create the project under a directory that contains the # character and that the problem is fixed if I just create the same project under a directory that does not contain the # character.
So, the temporary solution is : create the project under another directory.
I feel like this character should be avoided in a path anyway but should still technically be authorized.
I opened a bug to the Angular team here to see if this behavior is normal and will update the answer as soon as I get a response.
EDIT : This is a known issue that comes from webpack here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With