Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twitter-bootstrap version not found! #13654

Closed
wangkanai opened this issue Dec 30, 2019 · 22 comments
Closed

twitter-bootstrap version not found! #13654

wangkanai opened this issue Dec 30, 2019 · 22 comments

Comments

@wangkanai
Copy link

https://cdnjs.com/libraries/twitter-bootstrap

Is the something wrong with twitter-bootstrap?

image

But i still see it in the search

image

So this issue is causing my build to fail this morning.

image

@stepkillah
Copy link

Same issue for few more packages:

libman.json : error LIB002: The "tether@1.4.7" library could not be resolved by the "cdnjs" provider 
libman.json : error LIB002: The "bootstrap-select@1.13.11" library could not be resolved by the "cdnjs" provider 
libman.json : error LIB002: The "bootstrap-fileinput@5.0.6" library could not be resolved by the "cdnjs" provider 
libman.json : error LIB002: The "select2@4.0.10" library could not be resolved by the "cdnjs" provider 

@echolet
Copy link

echolet commented Dec 30, 2019

Same issue with Foundation related packages:

https://cdnjs.com/libraries/foundation
404 Not Found

@Dennis-Petrov
Copy link

The same is for https://cdnjs.com/libraries/bootswatch

@MattIPv4
Copy link
Member

MattIPv4 commented Dec 30, 2019

@xtuc looks like the new package generation script has further issues?

Looking at the API response, it seems the library is capped to only 10 versions. It also looks like these are the oldest 10 versions available. https://api.cdnjs.com/libraries/twitter-bootstrap
image

@wangkanai
Copy link
Author

I just did i check and find see that the issue is more wider spread.

image

Well, i'm not familiar with your code base, So I don't know how to help out. Is there a PR or branch working on this issue?

@MattIPv4
Copy link
Member

My guess is that this would be affecting any library with more than 10 versions available on cdnjs. We're actively working to get this fixed :)

@xtuc
Copy link
Member

xtuc commented Dec 30, 2019

This issue is now resolved. Sorry for the inconvenience

@xtuc xtuc closed this as completed Dec 30, 2019
@maxd
Copy link

maxd commented Dec 30, 2019

@xtuc The libman (Library Manager, .NET Core JS package manager) is still return errors:

libman.json : error LIB002: The "admin-lte@2.4.18" library could not be resolved by the "cdnjs" provider 
libman.json : error LIB002: The "twitter-bootstrap@3.4.1" library could not be resolved by the "cdnjs" provider
libman.json : error LIB002: The "bootstrap-datepicker@1.9.0" library could not be resolved by the "cdnjs" provider
libman.json : error LIB002: The "datatables@1.10.19" library could not be resolved by the "cdnjs" provider 
libman.json : error LIB002: The "font-awesome@4.7.0" library could not be resolved by the "cdnjs" provider
libman.json : error LIB002: The "select2@4.0.10" library could not be resolved by the "cdnjs" provider

@MattIPv4
Copy link
Member

I think the API cache will need clearing - @xtuc do you have the correct access on the cdnjs.com Cf dash to perform a purge?

@wangkanai
Copy link
Author

wangkanai commented Dec 30, 2019

This look like a good results

image

and build is now passing also

image

Thank you very much for such a quick fixed on the last work day of the year there mate.

@MattIPv4
Copy link
Member

Sweet, glad to hear it's now working for you :)

@jtriance
Copy link

jquery tablesorter-notfound
jquery tablesorter

Looks like jquery.tablesorter is also not working

@MattIPv4
Copy link
Member

Working for me. Try force refreshing the page @jtriance?

@jtriance
Copy link

OK, that worked now I just need to figure out how to fix my build. Thanks

@echolet
Copy link

echolet commented Dec 30, 2019

Although https://cdnjs.com/libraries/foundation is no longer a 404, the package files have a reduced menu, e.g. no "copy SRI".

@MattIPv4
Copy link
Member

I believe SRI calculations aren't running for new library versions. cc @xtuc

@xtuc
Copy link
Member

xtuc commented Dec 30, 2019

I confirm, we are currently refactoring a lots of things and I had to disable SRI calculations in the meantime.

@justintoth
Copy link

I'm still having this issue when downloading packages within Visual Studio, using libman.json.

Restore operation started...
Restoring libraries for project Web
The "twitter-bootstrap@4.4.1" library could not be resolved by the "cdnjs" provider
The "bootstrap-datepicker@1.9.0" library could not be resolved by the "cdnjs" provider
The "bootstrap-calendar@0.2.5" library could not be resolved by the "cdnjs" provider
The "bootstrap-select@1.13.12" library could not be resolved by the "cdnjs" provider
The "bootstrap-switch@4.0.0-alpha.1" library could not be resolved by the "cdnjs" provider
Restore operation completed with errors
Time Elapsed: 00:00:00.2478784
========== Finished ==========

@justintoth
Copy link

For others using Visual Studio and libman.json, I resolved the issue by running the "libman cache clean" command.

@Dennis-Petrov
Copy link

@justintoth , thank you. But where libman should be located? Especially in case of build server (only build tools are installed)?

@maxd
Copy link

maxd commented Dec 31, 2019

@Dennis-Petrov dotnet tool install -g <tool> install tool to $HOME/.dotnet/tools. This directory is not included to $PATH usually. So, you can include it to $PATH env. variable to execute in from any directory or execute libman directly from this directory:

cd $HOME/.dotnet/tools
./libman cache clean

@Dennis-Petrov
Copy link

@maxd This looks like linux-specific solution. Anyway, manually deleted folder .librarymanager\cache from user profile. The error has gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants