Skip to content

Class constructor Observable cannot be invoked without 'new'. #274

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

Open
brandonjones085 opened this issue Nov 8, 2020 · 5 comments
Open

Comments

@brandonjones085
Copy link

When I submit the form, I keep getting the error Class constructor Observable cannot be invoked without 'new'. I've tried changing the compilerOptions target to es5 and es2017, but nothing changed.

I'm running this on an Android, Galaxy 7 that's plugged in.

  • CLI: 7.0.10
  • Cross-platform modules: I was not able to find
  • Runtime(s): Android 7.0.1
  • Plugin(s): "devDependencies": {
    "@angular/compiler-cli": "~10.1.0",
    "@nativescript/android": "7.0.1",
    "@nativescript/types": "~7.0.0",
    "@nativescript/webpack": "~3.0.0",
    "@ngtools/webpack": "~10.1.0",
    "typescript": "~4.0.0"
    },

When I submit the form and run the onSave() function, the issue occurs. I attached the full repo below.
https://github.com/brandonjones085/pupapp

@brandonjones085
Copy link
Author

I want able to correct this on my end by installing tns version 6.8

@skmani
Copy link

skmani commented Nov 23, 2020

i am facing the same issue. is there any update on this?

@skmani
Copy link

skmani commented Nov 24, 2020

any other workaround for this issue? I am new to the native script. any other way to upload videos?

@Motyldrogi
Copy link

Found the question on stackoverflow from @brandonjones085 and got it working by changing to the new repo like in this answer https://stackoverflow.com/a/65038416/14447960

@praveen696
Copy link

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

4 participants