ActiveReport-Angular package throw error at runtime

Posted by: hitesh.kachhadiya on 29 June 2023, 9:39 am EST

  • Posted 29 June 2023, 9:39 am EST - Updated 29 June 2023, 9:46 am EST

    Hello Everyone.

    I am using @grapecity/activereport-angular package into my angular project. when I import module into root module, my project is compiled successfully, but on runtime, my project throw error like typeError.

    Here is my Angular Package.json :

    
    "dependencies": {
        "@angular/animations": "15.1.1",
        "@angular/cdk": "15.1.1",
        "@angular/common": "15.1.1",
        "@angular/compiler": "15.1.1",
        "@angular/core": "15.1.1",
        "@angular/forms": "15.1.1",
        "@angular/localize": "15.1.1",
        "@angular/platform-browser": "15.1.1",
        "@angular/platform-browser-dynamic": "15.1.1",
        "@angular/router": "15.1.1",
        "@apollo/client": "^3.3.11",
        "@grapecity/activereports-angular": "^4.0.2",
        "@grapecity/ar-viewer": "^16.4.1",
        "@ng-select/ng-select": "^10.0.4",
        "@videogular/ngx-videogular": "^6.0.0",
        "apollo-angular": "^2.6.0",
        "file-saver": "^2.0.5",
        "graphql": "^15.0.0",
        "html2pdf.js": "0.10.1",
        "jspdf": "2.5.1",
        "jspdf-autotable": "3.5.23",
        "localstorage-slim": "^2.2.0",
        "lodash": "^4.17.20",
        "lottie-web": ">=5.4.0",
        "moment": "^2.29.1",
        "ng2-dragula": "^2.1.1",
        "ngx-lottie": "^6.4.0",
        "ngx-quill": "^20.0.1",
        "node-sass": "^7.0.1",
        "primeflex": "^3.2.1",
        "primeicons": "^6.0.1",
        "primeng": "^15.1.1",
        "quill": "^1.3.7",
        "quill-placeholder-module": "^0.3.1",
        "reflect-metadata": "^0.1.13",
        "rxjs": "^7.8.0",
        "subscriptions-transport-ws": "^0.11.0",
        "symbol-observable": "^4.0.0",
        "tslib": "^2.0.0",
        "zone.js": "~0.11.4"
      },
      "devDependencies": {
        "@angular-devkit/build-angular": "^15.2.8",
        "@angular-eslint/builder": "15.2.1",
        "@angular-eslint/eslint-plugin": "15.2.1",
        "@angular-eslint/eslint-plugin-template": "15.2.1",
        "@angular-eslint/schematics": "15.2.1",
        "@angular-eslint/template-parser": "15.2.1",
        "@angular/cli": "^15.1.1",
        "@angular/compiler-cli": "^15.1.1",
        "@angular/language-service": "^15.1.1",
        "@html-eslint/eslint-plugin": "^0.19.0",
        "@html-eslint/parser": "^0.19.0",
        "@types/core-js": "^2.5.5",
        "@types/eslint": "^6.1.8",
        "@types/file-saver": "^2.0.5",
        "@types/jasmine": "^3.6.11",
        "@types/jasminewd2": "~2.0.3",
        "@types/lodash": "^4.14.168",
        "@types/node": "^12.20.55",
        "@types/quill": "^1.3.10",
        "@typescript-eslint/eslint-plugin": "5.48.1",
        "@typescript-eslint/parser": "5.48.1",
        "@typescript-eslint/typescript-estree": "^5.50.0",
        "apollo": "^2.32.1",
        "codelyzer": "^6.0.0",
        "concurrently": "^5.3.0",
        "eslint": "^8.41.0",
        "eslint-config-airbnb-base": "^15.0.0",
        "eslint-config-airbnb-typescript": "^17.0.0",
        "eslint-config-prettier": "^8.8.0",
        "eslint-plugin-html": "^7.1.0",
        "eslint-plugin-import": "^2.27.5",
        "eslint-plugin-prefer-arrow": "^1.2.3",
        "eslint-plugin-prettier": "^4.2.1",
        "eslint-plugin-unused-imports": "^2.0.0",
        "graphqurl": "^0.3.3",
        "jasmine-core": "~3.6.0",
        "jasmine-spec-reporter": "~5.0.0",
        "karma": "^6.3.4",
        "karma-chrome-launcher": "~3.1.0",
        "karma-coverage": "^2.0.3",
        "karma-coverage-istanbul-reporter": "~3.0.2",
        "karma-jasmine": "~4.0.0",
        "karma-jasmine-html-reporter": "^1.5.0",
        "node-fetch": "^2.6.6",
        "npm": "^9.6.5",
        "prettier": "^2.8.8",
        "protractor": "~7.0.0",
        "rimraf": "^3.0.2",
        "source-map-explorer": "^2.5.2",
        "ts-node": "~7.0.0",
        "typescript": "^4.9.5"
      }
    

    can anyone please help a bit. I am struggling from last two days on this.

  • Posted 30 June 2023, 8:24 am EST

    Hi Hitesh,

    This seems to be a generic issue. I would suggest you to try setting the “skipLibCheck” to true in tsConfig.json file.

    If the issue persists then I would suggest you to try the following solutions available here:

    If the issue persists then pleas share a sample application reproducing the issue.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels