Open Closed

Error: “The Libs folder is missing!” When Launching HttpApi.Host #9171


User avatar
0
FarReach created
  • Template: app
  • Created ABP Studio Version: 0.9.25
  • Current ABP Studio Version: 0.9.25
  • Tiered: No
  • Multi-Tenancy: Yes
  • UI Framework: angular
  • Theme: leptonx
  • Theme Style: system
  • Run Install Libs: Yes
  • Progressive Web App: Yes
  • Run Progressive Web App Support: Yes
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: No
  • Create Initial Migration: Yes
  • Run Db Migrator: Yes
  • Mobile Framework: none
  • Public Website: Yes
  • Include Tests: Yes
  • Kubernetes Configuration: Yes
  • Distributed Event Bus: none
  • Use Local References: No
  • Optional Modules:
    • GDPR
    • FileManagement
    • TextTemplateManagement
    • LanguageManagement
    • AuditLogging
    • OpenIddictAdmin

Subject: Error: “The Libs folder is missing!” When Launching HttpApi.Host from ABP Studio / Visual Studio

Description:

We are encountering an issue when attempting to launch the HttpApi.Host project from within ABP Studio and Visual Studio. The error message indicates that the Libs folder is missing, despite having run the abp install-libs command as instructed.

Error Message:

The Libs folder is missing!
The Libs folder contains mandatory NPM Packages for running the project.

Make sure you run the abp install-libs CLI tool command.

If your application does not use any client-side libraries, you can disable this check by setting AbpMvcLibsOptions.CheckLibs to false, as shown below:

Configure<AbpMvcLibsOptions>(options =>
{
    options.CheckLibs = false;
});
For more information, check out the ABP CLI documentation.

Steps Taken:

  1. Verified that Node.js and NPM are installed and working properly.
  2. Executed abp install-libs in the project root directory.
  3. Confirmed the command completed without errors.
  4. Attempted to launch the HttpApi.Host project again in both ABP Studio and Visual Studio.
  5. Error persists and the Libs folder does not get created.

Can you help us identify what might be going wrong or suggest additional troubleshooting steps?

Thanks in advance for your support!


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Do you have a wwwroot folder in your HttpApi.Host project?

    Can you share a screenshot of your project structure?

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can disable the lib check with

    Configure<AbpMvcLibsOptions>(options =>
    {
        options.CheckLibs = false;
    });
    
  • User Avatar
    0
    FarReach created

    Here is the screenshot you requested. There is a wwwroot folder.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can disable the lib check with

    Configure<AbpMvcLibsOptions>(options =>
    {
        options.CheckLibs = false;
    });
    

    If you can share a project, I'll download and review it.

    liming.ma@volosoft.com

    Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 12, 2025, 05:22