Open Closed

Error in Angular (Lepton X) #6784


User avatar
0
Abdulaziz_Alsaffar created

Dears,

After creating new project i can't run the angular project i goe issues in lepton X

please see the image

how to solve it?


5 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello ,

    Can you give some steps to reporduce this issue. and share the ABP Framework version:

    Thank you.

  • User Avatar
    0
    Abdulaziz_Alsaffar created

    ABP version : 7.2.3

    I didn't do any thing just set up the project then when start the angular theses errors shown

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi Abdulaziz_Alsaffar,

    Can you share your package.json please ?

  • User Avatar
    0
    Abdulaziz_Alsaffar created
    {
      "name": "Forms",
      "version": "0.0.0",
      "scripts": {
        "ng": "ng",
        "start": "ng serve --open",
        "build": "ng build",
        "build:prod": "ng build --configuration production",
        "watch": "ng build --watch --configuration development",
        "test": "ng test",
        "lint": "ng lint"
      },
      "private": true,
      "dependencies": {
        "@abp/ng.components": "~7.2.3",
        "@abp/ng.core": "~7.2.3",
        "@abp/ng.oauth": "~7.2.3",
        "@abp/ng.setting-management": "~7.2.3",
        "@abp/ng.theme.shared": "~7.2.3",
        "@volo/abp.commercial.ng.ui": "~7.2.3",
        "@volo/abp.ng.account": "~7.2.3",
        "@volo/abp.ng.audit-logging": "~7.2.3",
        "@volo/abp.ng.gdpr": "~7.2.3",
        "@volo/abp.ng.identity": "~7.2.3",
        "@volo/abp.ng.openiddictpro": "~7.2.3",
        "@volo/abp.ng.language-management": "~7.2.3",
        "@volo/abp.ng.saas": "~7.2.3",
        "@volo/abp.ng.text-template-management": "~7.2.3",
        "@volosoft/abp.ng.theme.lepton-x": "^2.2.0",
        "@angular/animations": "^15.0.1",
        "@angular/common": "^15.0.1",
        "@angular/compiler": "^15.0.1",
        "@angular/core": "^15.0.1",
        "@angular/forms": "^15.0.1",
        "@angular/localize": "^15.0.1",
        "@angular/platform-browser-dynamic": "^15.0.1",
        "@angular/platform-browser": "^15.0.1",
        "@angular/router": "^15.0.1",
        "rxjs": "7.5.6",
        "tslib": "^2.1.0",
        "zone.js": "~0.11.4"
      },
      "devDependencies": {
        "@abp/ng.schematics": "~7.2.3",
        "@angular-devkit/build-angular": "^15.0.1",
        "@angular-eslint/builder": "~15.1.0",
        "@angular-eslint/eslint-plugin": "~15.1.0",
        "@angular-eslint/eslint-plugin-template": "~15.1.0",
        "@angular-eslint/schematics": "~15.1.0",
        "@angular-eslint/template-parser": "~15.1.0",
        "@angular/cli": "^15.0.1",
        "@angular/compiler-cli": "^15.0.1",
        "@angular/language-service": "^15.0.1",
        "@types/jasmine": "~3.6.0",
        "@types/node": "^12.11.1",
        "@typescript-eslint/eslint-plugin": "^5.36.2",
        "@typescript-eslint/parser": "^5.36.2",
        "eslint": "^8.23.0",
        "jasmine-core": "~4.0.0",
        "karma": "~6.3.0",
        "karma-chrome-launcher": "~3.1.0",
        "karma-coverage": "~2.1.0",
        "karma-jasmine": "~4.0.0",
        "karma-jasmine-html-reporter": "^1.7.0",
        "ng-packagr": "^15.0.1",
        "typescript": "~4.8.3"
      }
    }
    
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello ,

    Please try to change "@volosoft/abp.ng.theme.lepton-x": "~2.2.0" at your package.json. Delete your yarn.lock file and run yarn command. After that run npm start command. It may works without any issue.

    Thank you.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35