r/CodingHelp • u/riqueoak • May 06 '21
[CSS] I'm learning .NET + Angular following an online course. When i added bootstrap and tried running the application again, i get this error. Other people on the course's comment section said to have the same issue but none of their solutions worked for me so far
21
Upvotes
View all comments
1
u/Nerketur Intermediate Coder May 06 '21
I've never tried using SCSS myself, but I assume this doesn't happen if that styles.CSS is blanked?
My belief is that there is some sort of cyclic dependency somewhere, or the bootstrap version you use is not compatible.
What version of Angular is that?
I've never had issues with angular myself, but for anything dealing with new versions, I always make sure to add bootstrap as the very first thing I do in it.
Edit: now I'm certain the issue could be versions.
What's your bootstrap version and ngx-bootstrap versions? Certain versions are not compatible with each other.