Skip to content

NativeClass not found error #47

@nc1401

Description

@nc1401

Which platform(s) does your issue occur on?

  • iOS
  • iOS all versions
  • all devices

Please, provide the following version numbers that your issue occurs with:

  • CLI: 8.4.0
  • Cross-platform modules: @nativescript-community/[email protected]
    @nativescript/[email protected]
    @nativescript/[email protected]
    @nativescript/[email protected]
  • Runtime(s): 8.5.2
  • Plugin(s): "dependencies": {
    "@nativescript-community/ui-chart": "^1.2.26",
    "@nativescript/core": "8.5.9"
    },
    "devDependencies": {
    "@nativescript/android": "8.5.0",
    "@nativescript/ios": "~8.5.2"
    }

APP crashed on launch with this error :
JavaScript exception - application has been terminated. *****

2023-10-20 18:35:45.131767+0530 QA-Investor360[68659:4176799] NativeScript encountered a fatal error: Uncaught ReferenceError: NativeClass is not defined

at

./node_modules/@nativescript-community/ui-canvas/index.ios.js(file:///app/vendor.js:3752:5)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./node_modules/@nativescript-community/ui-chart/charts/BarLineChartBase.js(file:///app/vendor.js:5284:91)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./node_modules/@nativescript-community/ui-chart/charts/BarChart.js(file:///app/vendor.js:5156:75)

at __webpack_require__(file:///app/runtime.js:23:42)

at ../../../libs/nativescript/shared/src/lib/components/charts/charts.module.ts(file:///app/bundle.js:2230:97)

at __webpack_require__(file:///app/runtime.js:23:42)

at ../../../libs/nativescript/shared/src/lib/nativescript-shared.module.ts(file:///app/bundle.js:7551:90)

at __webpack_require__(file:///app/runtime.js:23:42)

at ../../../libs/nativescript/shared/src/index.ts(file:///app/bundle.js:1303:89)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./src/app.component.ts(file:///app/bundle.js:61:83)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./src/app.module.ts(file:///app/bundle.js:255:72)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./src/main.ts(file:///app/bundle.js:15:69)

at __webpack_require__(file:///app/runtime.js:23:42)

at __webpack_exec__(file:///app/bundle.js:11338:39)

at (file:///app/bundle.js:11339:189)

at (file:///app/runtime.js:102:21)

at (file:///app/bundle.js:11339:47)

at (file:///app/bundle.js:11344:3)

at require(:1:232)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions