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
I managed to work with the plugin well at first then later when I deleted my
node_modulesand runtns run android(Using the NativeScriptsample-Groceriesproject) it fails with the error mentioned above.How to recreate the problem
package.jsoni.e."nativescript-drop-down": "^3.0.1"groceries.module.tsand addimport { DropDownModule } from "nativescript-drop-down/angular", also add the Module to the@NgModuleimports section just as the plugin specifies.tns run android.The error should appear after the build completes in the emulator.
My development environment: