nstudio / nativescript-checkbox

NativeScript plugin for checkbox UI component
Other
119 stars 56 forks source link

Missing AOT support in latest release (3.0.0) #64

Closed manojdcoder closed 6 years ago

manojdcoder commented 6 years ago

Add *.metadata.json for angular module.

ERROR in Unexpected value 'TNSCheckBoxModule in path_to_app/node_modules/nativescript-checkbox/angular/index.js' imported by the module 'InputModule in path_to_app/app/input/input.module.ts'. Please add a @NgModule annotation.

ERROR in ./main.aot.ts
Module not found: Error: Can't resolve './app.module.ngfactory' in 'path_to_app/app'
 @ ./main.aot.ts 5:29-62
manojdcoder commented 6 years ago

@EddyVerbruggen Is it possible for you to make a updated release with missing files?

EddyVerbruggen commented 6 years ago

@manojdcoder It turns out publishing this plugin requires running grunt publish instead of npm publish. I've now overwritten npm publish in package.json so this will not happen again (PR will be submitted in a minute).

Version 3.0.1 is now available which fixes the issue.

manojdcoder commented 6 years ago

Thank you @EddyVerbruggen for the quick action.