Activities of "muhammedaltug"

Hello,

Can you remove the <div id="lp-page-loader"></div> from index.html? We fixed it, but the fix has not been released yet.

Thanks, I modified the dependencies too. Can you try with the following package.json file? Note: Please ensure lock files (yarn.lock or package-lock.json) not exist before running yarn install command

{
  "name": "BTS",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve --open",
    "build": "ng build",
    "build:prod": "ng build --prod",
    "build:belfordev": "ng build --belfordev",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@abp/ng.components": "5.3.4",
    "@abp/ng.core": "5.3.4",
    "@abp/ng.setting-management": "5.3.4",
    "@abp/ng.theme.shared": "5.3.4",
    "@angular/animations": "13.3.3",
    "@angular/common": "13.3.3",
    "@angular/compiler": "13.3.3",
    "@angular/core": "13.3.3",
    "@angular/forms": "13.3.3",
    "@angular/localize": "13.3.3",
    "@angular/platform-browser": "13.3.3",
    "@angular/platform-browser-dynamic": "13.3.3",
    "@angular/router": "13.3.3",
    "@ngxs/store": "^3.7.4",
    "@volo/abp.commercial.ng.ui": "5.3.4",
    "@volo/abp.ng.account": "5.3.4",
    "@volo/abp.ng.audit-logging": "5.3.4",
    "@volo/abp.ng.identity": "5.3.4",
    "@volo/abp.ng.identity-server": "5.3.4",
    "@volo/abp.ng.language-management": "5.3.4",
    "@volo/abp.ng.saas": "5.3.4",
    "@volo/abp.ng.text-template-management": "5.3.4",
    "@volo/abp.ng.theme.lepton": "5.3.4",
    "angular-ng-autocomplete": "2.0.5",
    "flag-icon-css": "^4.1.7",
    "highcharts": "8.0.0",
    "moment": "2.29.1",
    "ngx-bootstrap": "5.6.1",
    "ngx-mask": "11.1.5",
    "ngx-moment": "5.0.0",
    "rxjs": "6.6.7",
    "tslib": "2.1.0",
    "zone.js": "0.10.2"
  },
  "devDependencies": {
    "@abp/ng.schematics": "5.3.4",
    "@angular-devkit/build-angular": "13.3.3",
    "@angular/cli": "13.3.3",
    "@angular/compiler-cli": "13.3.3",
    "@angular/language-service": "13.3.3",
    "@types/jasmine": "3.5.0",
    "@types/jasminewd2": "2.0.3",
    "@types/node": "12.20.7",
    "codelyzer": "6.0.1",
    "jasmine-core": "3.6.0",
    "jasmine-spec-reporter": "5.0.0",
    "karma": "5.1.1",
    "karma-chrome-launcher": "3.1.0",
    "karma-coverage-istanbul-reporter": "3.0.2",
    "karma-jasmine": "4.0.0",
    "karma-jasmine-html-reporter": "1.5.0",
    "ng-packagr": "11.0.1",
    "protractor": "7.0.0",
    "ts-node": "8.3.0",
    "tslint": "6.1.0",
    "typescript": "4.5.4"
  },
  "resolutions": {
    "@abp/ng.components": "5.3.4",
    "@abp/ng.core": "5.3.4",
    "@abp/ng.setting-management": "5.3.4",
    "@abp/ng.theme.shared": "5.3.4",
    "@volo/abp.commercial.ng.ui": "5.3.4",
    "@volo/abp.ng.account": "5.3.4",
    "@volo/abp.ng.audit-logging": "5.3.4",
    "@volo/abp.ng.gdpr": "5.3.4",
    "@volo/abp.ng.identity": "5.3.4",
    "@volo/abp.ng.identity-server": "5.3.4",
    "@volo/abp.ng.language-management": "5.3.4",
    "@volo/abp.ng.saas": "5.3.4",
    "@volo/abp.ng.text-template-management": "5.3.4",
    "@volo/abp.ng.theme.lepton": "5.3.4"
  }
}

Can you send your package.json ?

What is the result of yarn why @abp/ng.components?

Hello,

You need to change the styles defined in angular.json. Can you check Theme Configurations document?

Hello,

resolutions key is yarn specific key. Can you try with yarn install?

Hello,

I opened an internal issue about this bug. For now, you can avoid this problem with the following code


import { DOM_STRATEGY } from '@abp/ng.core';
import { LayoutStateService } from '@volo/abp.ng.theme.lepton';
import { APP_INITIALIZER, NgModule } from '@angular/core'

@NgModule({
  // other properties
  providers: [
    // other providers
    {
      provide: APP_INITIALIZER,
      multi: true,
      deps: [LayoutStateService],
      useFactory: subscribeThemeStyleLoad,
    },
  ]
})
export class AppModule {}

function subscribeThemeStyleLoad(layoutStateService: LayoutStateService) {
  return () => {
    changeStyleOrder();
    layoutStateService.get$('style').subscribe(() => {
      changeStyleOrder();
    });
  };
}

function changeStyleOrder() {
  const target = document.querySelector<HTMLElement>('style#lepton-styles');
  const leptonStyle = document.querySelector<HTMLElement>('link[href^=lepton]');
  const strategy = DOM_STRATEGY.BeforeElement(target);
  strategy.insertElement(leptonStyle);
}

Hello,

Can you try after removing yarn.lock file and node_modules folder and installing packages with the yarn command?

You can check the installed package version with yarn why @abp/ng.components

Hello

Can you send the logs of WebGateway and logs ofAdministrationService?

Hello,

I am able to reproduce the error. The bug is related to version 5.3.5. Can you add the following lines to your package.json?

  "resolutions": {
    "@abp/ng.components": "5.3.4",
    "@abp/ng.core": "5.3.4",
    "@abp/ng.setting-management": "5.3.4",
    "@abp/ng.theme.lepton-x": "1.0.0-beta.3",
    "@abp/ng.theme.shared": "5.3.4",
    "@volo/abp.commercial.ng.ui": "5.3.4",
    "@volo/abp.ng.account": "5.3.4",
    "@volo/abp.ng.audit-logging": "5.3.4",
    "@volo/abp.ng.gdpr": "5.3.4",
    "@volo/abp.ng.identity": "5.3.4",
    "@volo/abp.ng.identity-server": "5.3.4",
    "@volo/abp.ng.language-management": "5.3.4",
    "@volo/abp.ng.saas": "5.3.4",
    "@volo/abp.ng.text-template-management": "5.3.4",
    "@volo/abp.ng.theme.lepton": "5.3.4"
  }
Showing 81 to 90 of 254 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30