Starting a fresh ABP project using the latest v8 CLI comes with a new feature - when you run the command "abp install-libs", it now automatically generates an

Currently, I am attempting to run ABP on macOS Sonoma using .NET Core 8. Everything seems to be working fine except for the fact that the AuthServer is lacking any styling.

I made sure to install npm and yarn with the correct versions, and then executed the "abp install-libs" command which resulted in:

ABP CLI 8.0.2
Found 1 projects.
/Users/dennisrahmen/GitHub/DR.DIAS/Source/DR.DIAS.AuthServer
Running Yarn on /Users/dennisrahmen/GitHub/DR.DIAS/Source/DR.DIAS.AuthServer
yarn install v1.22.21
warning ../../package.json: No license field
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.03s.

However, this action only results in an empty "libs" folder within the AuthServer project. Despite trying various methods such as removing lock files, rebuilding, and reinstalling yarn and npm, I continue to face errors while running the project:

[23:46:14 DBG] Added 0 entity changes to the current audit log
[23:46:14 ERR] Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Basic.Global'!
[23:46:14 ERR] Could not find the bundle file '/libs/bootstrap/css/bootstrap.css' for the bundle 'Basic.Global'!
[23:46:14 ERR] Could not find the bundle file '/libs/@fortawesome/fontawesome-free/css/all.css' for the bundle 'Basic.Global'!
[23:46:14 ERR] ... (remaining error messages follow)

Answer №1

Some users may encounter the following issue:

If you are unable to install the libs using the abp install-libs command or the yarn install command, make sure to check the package.json file of the project:

"dependencies": {
"restore": "^0.3.0",
"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.0.1"}

The package.json should include an entry for the theme being used (number of entries will vary based on modules used). In this instance, the theme entry

"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.0.1"
was missing.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Enforce a mandatory update for browserslist

When I execute the following command on the CLI: npx browserslist@latest --update-db An error is being displayed as shown below: Error: Command failed: npm install caniuse-lite npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve ... npm ERR! Fix ...

Error message: "Serialization of object to ajax/json cannot be completed

I have encountered an issue while attempting to pass a List MyModel via AJAX/JSON to the controller. I noticed that all the objects are being passed as 'undefined': [Form Post Data] undefined=&undefined=&undefined=&undefined=&un ...

The module specifier "tslib" could not be resolved due to a TypeError. It is necessary for relative references to begin with either "/", "./", or "../"

Hey there, I recently started learning npm. I'm trying to install "@fullcalendar" and use it, but I keep getting this error message: "Uncaught TypeError: Failed to resolve module specifier "tslib". Relative references must start with either "/", "./", ...

The files _buildmanifest.js and _ssgmanifest.js could not be loaded. The server returned a 404 error, indicating that the resources were not found

Upcoming: 12.3.4 React Version: 17.0.2 Node Version: 16.13.1 An error is persisting in my Next.js application where the console displays the following message on all pages I load: 404 Failed to load resource: the server responded with a status of 404 ( ...

Command prompt does not acknowledge Cordova. The variables have been successfully updated

An error occurred while running the command in the cmd prompt: C:\Users\Admin>cordova C:\Users\Admin\AppData\Roaming\npm\node_modules\cordova\node_modules\execa\index.js:347 th ...

The plugin registration failed for 'html-webpack-plugin-before-html-processing' as the specified hook could not be located

An error occurred: Plugin could not be registered at 'html-webpack-plugin-before-html-processing'. The hook was not found. BREAKING CHANGE: There must be a hook at 'this.hooks'. To create a compatibility layer for this hook, hook into & ...

What is the standard approach for exchanging localized user interface strings between Microsoft's MVC and JavaScript?

In the process of developing an application that utilizes a dynamic, javascript-based client, I am facing the need for localization. This particular application includes significant UI components that are not generated by Javascript and are instead served ...

Issue updating @angular/core in Angular CLI caused by rxjs dependency

Currently, I am in the process of updating angular and angular material to version 6. I have successfully updated the cli to allow for the new ng update command. However, when attempting to use it to update @angular/core, I encounter an error stating that ...

What steps are involved in uploading a package to npm with an API key?

NPM offers the option to generate access tokens that grant permission to publish packages to the NPM registry. To utilize this feature, you need to configure your package settings to "Require two-factor authentication or automation tokens" under "Publishin ...

What is the equivalent of the DataSource attribute for mstest in .NET Core?

Is DataSource attribute supported in .NET Core projects of MSTest? If not, what is the alternative? For more information, visit: https://learn.microsoft.com/en-us/visualstudio/test/how-to-create-a-data-driven-unit-test?view=vs-2019 Note: In .NET Core, th ...

"Encountering an Error in Linq Query Due to Union Operator Usage

Integrating a WCF service into an AngularJS web application has presented a challenge. With two tables in the database, the goal is to join their records into a single record for display in the AngularJS application. When both tables have records, retrieva ...

What is the process for running "npx create-react-app" with yarn instead of npm?

After running "npx create-react-app" my project was installed using npm. However, I would prefer to install it using yarn instead. How can I make that switch? Current installation method Desired installation approach ...

enigmatic issue arising in Angular/Node

Could someone please shed some light on what might be causing the issue in my code? Thank you in advance! webpack: Compilation Failed. My Angular CLI: 1.6.3 Node: 8.9.4 OS: Windows 32-bit Angular: 5.2.1 Error Message: ERROR in ./node_modules/css-loader ...

Utilizing electron as a development dependency in an Ubuntu environment

After installing electron on Ubuntu 17.10, this is the process I followed: ole@mki:~/angular-electron$ npm i --save-dev electron > <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d9bcb5bcbaadabb6b799e8f7eef7e8eb"> ...

Sandwich Bot using MS Bot Framework displaying JSON in Command Prompt

Currently, I am using the Microsoft Bot Framework and diligently following their guide (utilizing C# for the .NET version) to construct a Simple Sandwich Bot The initial stages of setting up the bot have been successful. However, upon interacting with the ...

A personalized command line interface that mimics the functionality of "npm install" but enables the installation of libraries in a directory other than the standard "node_modules"

As I delve into the world of NodeJS, I've come to understand that running "npm install" results in libraries being installed into a directory called "node_modules". However, my goal is to create a similar process but through my own CLI. Instead of usi ...

Transitioning from an iFrame back to the Parent Frame and locating an element within the Parent Frame using Selenium Webdriver in C#

Situation: - On a page with an iFrame Text Editor and a button, I need to read from the Text Editor body within the iFrame. - Once done reading, I want to click on the button in the parent frame of the page. - Attempting to switch back to the parent frame ...

When using the Ng --version command on a development package, it throws an error

I encounter an error with a development package when cloning a repository. I would greatly appreciate any advice on how to resolve this issue. https://i.stack.imgur.com/DBp5r.png ...

Every time I try to create a new React app, I consistently run into the same error

I keep encountering this error every time I try to create a React app using create-react-app. ...

Implementing Selenium testing in C# using containers

Is there a way to handle a selenium test in c# if an element is not present? if (type == "ID" && Event == "Click") { Thread.Sleep(TimeSpan.FromSeconds(time)); WebDriverWait wait = new WebDriverWait(webDriver, TimeSpan.FromSeconds(2 ...