henrychavez / nativescript-bottom-navigation

Nativescript plugin for Android & iOS to have the bottom navigation bar of Material Design
Apache License 2.0
58 stars 18 forks source link

Angular build error[BUG] #77

Closed ElesGergo closed 5 years ago

ElesGergo commented 5 years ago

Before start:


Which platform(s) does your issue occur on?

What type of device?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible. Describe the steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '...'
  3. See error

Is there any code involved?

ERROR in node_modules/nativescript-bottom-navigation/index.d.ts(21,3): error TS2416: Property 'activeColor' in type 'BottomNavigationBar' is not assignable to the same property in base type 'BottomNavigationBarBase'. [19-09-16 16:19:46.568] (CLI) Type 'string' is not assignable to type 'Color'. [19-09-16 16:19:46.568] (CLI) node_modules/nativescript-bottom-navigation/index.d.ts(22,3): error TS2416: Property 'inactiveColor' in type 'BottomNavigationBar' is not assignable to the same property in base type 'BottomNavigationBarBase'. [19-09-16 16:19:46.568] (CLI) Type 'string' is not assignable to type 'Color'. [19-09-16 16:19:46.568] (CLI) node_modules/nativescript-bottom-navigation/index.d.ts(23,20): error TS2304: Cannot find name 'Color'. [19-09-16 16:19:46.568] (CLI) node_modules/nativescript-bottom-navigation/index.d.ts(46,22): error TS2304: Cannot find name 'EventData'.

Build error. Importing the missing things and changing the string to color solves the problem however it is not possible with cloud build.

henrychavez commented 5 years ago

The issue is fixed in release 2.0.4 please update the plugin in your package.json