Skip to content

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

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

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