Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NativeClass not found error #47

Open
nc1401 opened this issue Oct 20, 2023 · 8 comments
Open

NativeClass not found error #47

nc1401 opened this issue Oct 20, 2023 · 8 comments

Comments

@nc1401
Copy link

nc1401 commented Oct 20, 2023

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)
@nc1401
Copy link
Author

nc1401 commented Oct 20, 2023

@farfromrefug This same issue occurred yesterday but was fixed after 4 hours automatically, it looks like it has something to with the update you are making to this package

@farfromrefug
Copy link
Member

@nc1401 thanks yes I need to find a way to ensure it never happens. It is an issue with npm which makes it happen randomly

@nc1401
Copy link
Author

nc1401 commented Oct 20, 2023

@farfromrefug is it an intermittent issue? Is there a tentative plan to when this will be resolved, or do we roll back to ui-charts-1.2.26 while this is being resolved? Cause that's the only package that has a dependency on ui-canvas for us.

@farfromrefug
Copy link
Member

@nc1401 it is fixed latest isn't it?

@nc1401
Copy link
Author

nc1401 commented Oct 20, 2023

@farfromrefug not yet, I still see the same issue

@farfromrefug
Copy link
Member

@nc1401 OK strange dont see it here. Will take a look

@nc1401
Copy link
Author

nc1401 commented Oct 23, 2023

@farfromrefug did you get a chance to look into it?

@farfromrefug
Copy link
Member

@nc1401 a new version is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants