searchkit-demo icon indicating copy to clipboard operation
searchkit-demo copied to clipboard

ERROR in /searchkit-demo/node_modules/@types/react-router/lib/withRouter.d.ts (3,99): error TS2314: Generic type 'PureComponent<P, S>' requires 2 type argument(s).

Open svanschalkwyk opened this issue 8 years ago • 2 comments
trafficstars

Hi "ERROR in /searchkit-demo/node_modules/@types/react-router/lib/withRouter.d.ts (3,99): error TS2314: Generic type 'PureComponent<P, S>' requires 2 type argument(s)." when running the app.

Node 8.1.2 React 15.6.1 Ubuntu What else do you need to diagnose? Internet says this: https://stackoverflow.com/questions/32506180/error-ts2314-generic-type-componentp-s-requires-2-type-arguments but I cannot find React.Component in code.

svanschalkwyk avatar Jun 26 '17 22:06 svanschalkwyk

thanks, il look into it. If you just want a boilerplate, i strongly advise you not to use this as a base but searchkit-starter-app (https://github.com/searchkit/searchkit-starter-app)

joemcelroy avatar Jul 19 '17 07:07 joemcelroy

I am having the same problem...

TrimA74 avatar Oct 11 '17 13:10 TrimA74