Skip to content

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

Open

Description

@brandonjones085

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

Activity

  1. brandonjones085 commented on Nov 14, 2020

    @brandonjones085
    Author

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

  2. skmani commented on Nov 23, 2020

    @skmani

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

  3. skmani commented on Nov 24, 2020

    @skmani

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

  4. Motyldrogi commented on Dec 3, 2020

    @Motyldrogi

    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

  5. praveen696 commented on Sep 22, 2021

    @praveen696
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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