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

JS in /Libs is missing #5322

Closed
RodrigoSturm opened this issue Feb 22, 2020 · 13 comments
Closed

JS in /Libs is missing #5322

RodrigoSturm opened this issue Feb 22, 2020 · 13 comments

Comments

@RodrigoSturm
Copy link

Hello,

I Downloaded a ASPCore 3.0 with angular (tried also jquery)...

But the "Libs" is missing...

image

@RodrigoSturm
Copy link
Author

I Right Clicked in libman.json > repair lib and ir worked... thanks.

@zlyxm
Copy link

zlyxm commented Feb 28, 2020

unacceptable. The official website document does not say this step at all. Very unfriendly to newbies

@ismcagdas
Copy link
Member

@zlyxm docs will be updated #5278

@espindl
Copy link

espindl commented Mar 1, 2020

If you are not using Visual Studio and/or you are on a mac you can use Libman CLI .
After installing it while in Web.Mvc folder run libman restore

@imanabidi
Copy link

if you cannot find libman.sjon like me, Just right click npm folder under dependencies in your web.host project and then click "Restore Packages" and check output window

@guytechNet
Copy link

guytechNet commented Apr 25, 2023

I Right Clicked in libman.json > repair lib and ir worked... thanks.

On VS2022, you can right clicked in libman.json > select Restories Client-Side Libraries > After run website
Untitled

@CoderLittleChen
Copy link

I Right Clicked in libman.json > repair lib and ir worked... thanks.

On VS2022, you can right clicked in libman.json > select Restories Client-Side Libraries > After run website Untitled

I do the same action,but libman can't restore the library,What can i do?

Visual studio 2022

libman version

### Error Info 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 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 The "[email protected]" library could not be resolved by the "cdnjs" provider Restore operation completed with errors

@ismcagdas
Copy link
Member

Can you try it using command line ?

@CoderLittleChen
Copy link

Can you try it using command line ?

I try it but get this error.I had installed the library manager cli by the command: dotnet tool install -g Microsoft.Web.LibraryManager.Cli.How can i fix this?
image

@ismcagdas
Copy link
Member

Not using VS, I mean command prompt on windows.

@CoderLittleChen
Copy link

Not using VS, I mean command prompt on windows.

bro,got same error
image

@ismcagdas
Copy link
Member

This might not be related to libman or ABP, you can check similar issues on the web;

dotnet/sdk#4240
https://stackoverflow.com/questions/59284895/a-fatal-error-occurred-the-required-library-hostfxr-dll-could-not-be-found

@CoderLittleChen
Copy link

This might not be related to libman or ABP, you can check similar issues on the web;

dotnet/sdk#4240 https://stackoverflow.com/questions/59284895/a-fatal-error-occurred-the-required-library-hostfxr-dll-could-not-be-found

Ok,I'll check it,Thank you so much for your response

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

No branches or pull requests

7 participants