Closed gerryge closed 1 year ago
Me too
Hi Gerry, I moved this issue to lepton theme repo it'll fixed at next version, I'm closing this issue
For now you can add perfect-scrollbar directly with
yarn add perfect-scrollbar
or npm install perfect-scrollbar
Currently having the same problem. Created a new project with the latest abp cli version (7.2.3) with the following command: abp new Project.Name -u angular -dbms PostgreSQL --pwa
Already tried adding the package with yarn add perfect-scrollbar
and deleting the .angular
folder, the problem persists.
If I remove the node_modules folder and install with npm, angular compiles but the webpage fails with a NG0203 error.
Is there an existing issue for this?
Description
./node_modules/@volo/ngx-lepton-x.core/fesm2020/volo-ngx-lepton-x.core.mjs:11:0-49 - Error: Module not found: Error: Can't resolve 'perfect-scrollbar' in '...\angular\node_modules\@volo\ngx-lepton-x.core\fesm2020'
Error: node_modules/@volo/ngx-lepton-x.core/lib/abstracts/perfect-scrollbar.d.ts:3:30 - error TS2307: Cannot find module 'perfect-scrollbar' or its corresponding type declarations.
3 import PerfectScrollbar from 'perfect-scrollbar';
Reproduction Steps
abp new Acme.BookStore -u angular --separate-identity-server -csf
yarn start
Expected behavior
Should success to compile.
Actual behavior
Failed to compile.
Regression?
Work in v7.1.1
Known Workarounds
No response
Version
7.2.1
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
Windows (Default)
Other information
package.json