- ABP Framework version: v9.0.2
- Database System: EF Core
- Steps to reproduce the issue:
After I upgraded my ABP 8.0.2 to 9.0.2, when I run the .Host project it shows the message:
"The Libs folder under the wwwroot/libs directory is empty! The Libs folder contains mandatory NPM Packages for running the project.
Make sure you run the abp install-libs CLI tool command.
For more information, check out the ABP CLI documentation"
My host project is an API and I don't have a package.json file. I read on GitHub https://github.com/abpframework/abp/issues/21692 that a workaround would be to copy the 'libs' folder from AuthServer but I don't think this is acceptable as they will not be maintained over time.
Please let me know how to fix it for API projects.
4 Answer(s)
-
0
Hi,
Could you please share the full logs? thanks.
-
0
Hi,
Could you please share the full logs? thanks.
Any of your projects with a simple API with Swagger would result in the same issue. Have you tried it? Have you reviewed the GitHub page I shared as part of my ticket?
I can provide logs but there's not a lot to be seen other than the message I shared on my ticket.
-
0
Please note the ERR log above. Nothing else. To make it work, I'm adding manually the /libs folder from AuthServer into my API project but this is not optimal as ABP should take care of that when I run
abp install-libs
which doesn't happen in this project as I don't have apackage.json
and don't want to have, if I'm honest.Please let me know what next.
-
0
Hi,
Yes, I have checkd, it works for me. I guess there is a
wwwroot
folder under your project, you can try remove it.