GeekyAnts / react-native-boilerplate-redux-typescript

Other
68 stars 28 forks source link

Clean Checkout not Building #11

Open austinlogo opened 6 years ago

austinlogo commented 6 years ago

having trouble tracking down the source of this issue. but I've pasted the output for a clean npm run build.

09:26:58 react-native-boilerplate-redux-typescript : npm run build

> ReactNativeSeed@1.1.0 build C:\Users\Austin\workspaces\react-native\react-native-boilerplate-redux-typescript
> npm run clean && npm run tsc --

> ReactNativeSeed@1.1.0 clean C:\Users\Austin\workspaces\react-native\react-native-boilerplate-redux-typescript
> rimraf artifacts

> ReactNativeSeed@1.1.0 tsc C:\Users\Austin\workspaces\react-native\react-native-boilerplate-redux-typescript
> tsc

node_modules/native-base/index.d.ts(452,13): error TS2430: Interface 'Card' incorrectly extends interface 'ReactListViewProperties'.
  Types of property 'ref' are incompatible.
    Type 'Ref<ViewProperties | ReactListViewProperties>' is not assignable to type 'Ref<ListViewStatic & ScrollViewStatic & ViewStatic>'.
      Type 'RefObject<ViewProperties | ReactListViewProperties>' is not assignable to type 'Ref<ListViewStatic & ScrollViewStatic & ViewStatic>'.
        Type 'RefObject<ViewProperties | ReactListViewProperties>' is not assignable to type 'RefObject<ListViewStatic & ScrollViewStatic & ViewStatic>'.
          Type 'ViewProperties | ReactListViewProperties' is not assignable to type 'ListViewStatic & ScrollViewStatic & ViewStatic'.
            Type 'ViewProperties' is not assignable to type 'ListViewStatic & ScrollViewStatic & ViewStatic'.
              Type 'ViewProperties' is not assignable to type 'ListViewStatic'.
                Property 'DataSource' is missing in type 'ViewProperties'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! ReactNativeSeed@1.1.0 tsc: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the ReactNativeSeed@1.1.0 tsc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Austin\AppData\Roaming\npm-cache\_logs\2018-04-26T16_27_10_211Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! ReactNativeSeed@1.1.0 build: `npm run clean && npm run tsc --`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the ReactNativeSeed@1.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Austin\AppData\Roaming\npm-cache\_logs\2018-04-26T16_27_10_237Z-debug.log
matedemorphy commented 5 years ago

Same problem

matheusrufca commented 5 years ago

Same here