I tried to install [email protected] in VS2019 , but got the following error
LIB010 Failed to download resource from “https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.0-alpha1/scss/_alert.scss
I didn’t find anything to help me fix the problem.
I was able to install 4.5.0 version of twitter-bootstrap in vs2019
Any help would be appreciated . Thanks
2
Answers
I tried adding this as a comment but it was longer than the character limit. It looks like its erroring out on a scss file. I would recommend grabbing and putting these into your code to replace the old partial cdn you have above. In fact strip any install or cdn you have referencing bootstrap and its dependencies and replace it with the following which i got from bootstraps v5 docs which you can see here: Bootstrap V5 Docs w/ CDN links
Delete any existing code in your Pages/Shared/_Layout.cshtml and paste the below code into there:
Image of working project w/ no errors in console:
Explanation:
Steps I took to reproduce if for some reason you dont have that file is to
I also had this error.
I installed version [email protected] with [email protected] and it works now…
Perhaps a problem with the latest version?
Kind regards
Cornelius