Cdnjs: twitter-bootstrap version not found!

Created on 30 Dec 2019  路  22Comments  路  Source: cdnjs/cdnjs

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

Bug High Priority

Most helpful comment

This issue is now resolved. Sorry for the inconvenience

All 22 comments

Same issue for few more packages:
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider

Same issue with Foundation related packages:

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

@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

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?

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 :)

This issue is now resolved. Sorry for the inconvenience

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

libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider 
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider 
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider
libman.json : error LIB002: The "[email protected]" library could not be resolved by the "cdnjs" provider

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?

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.

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

jquery tablesorter-notfound
jquery tablesorter

Looks like jquery.tablesorter is also not working

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

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

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

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

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

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

Restore operation started...
Restoring libraries for project Web
The "[email protected]" library could not be resolved by the "cdnjs" provider
The "[email protected]" library could not be resolved by the "cdnjs" provider
The "[email protected]" library could not be resolved by the "cdnjs" provider
The "[email protected]" library could not be resolved by the "cdnjs" provider
The "[email protected]" library could not be resolved by the "cdnjs" provider
Restore operation completed with errors
Time Elapsed: 00:00:00.2478784
========== Finished ==========

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

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

@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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nikolay picture nikolay  路  57Comments

urakagi picture urakagi  路  115Comments

tananaev picture tananaev  路  16Comments

akoeplinger picture akoeplinger  路  20Comments

eastling picture eastling  路  18Comments