Skip to content

Angular module does not work with @next (>3.0.0) version of nativescript-angular #99

@jakoguta

Description

@jakoguta

I managed to work with the plugin well at first then later when I deleted my node_modules and run tns run android (Using the NativeScript sample-Groceries project) it fails with the error mentioned above.

How to recreate the problem

  • Download and setup the sample project NativeScript sample-Groceries.
  • Add the plugin to the package.json i.e. "nativescript-drop-down": "^3.0.1"
  • Go to groceries.module.ts and add import { DropDownModule } from "nativescript-drop-down/angular", also add the Module to the @NgModule imports section just as the plugin specifies.
  • Run tns run android.

The error should appear after the build completes in the emulator.

My development environment:

  • npm version: 4.6.1
  • tns version: 3.0.1
  • node: 6.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions