avataaars-generator icon indicating copy to clipboard operation
avataaars-generator copied to clipboard

error TS2304: Cannot find name 'Exclude'.

Open danielkramer opened this issue 5 years ago • 1 comments

Doing a fresh install of react and the repository. The server comes up briefly and crashes with: Failed to compile.

/Users/daniel/Documents/GitHub/avataaars-generator/node_modules/@types/lodash/common/object.d.ts (1689,12): error TS2304: Cannot find name 'Exclude'.

I'm trying to specify later versions of lodash and typescript (just searching for other people with this issue on other projects) but same error.

I'm not fluent in react (I'm an ios programmer).. so a little too much in the deep end here

danielkramer avatar Jul 27 '19 04:07 danielkramer

I got the error too. /avataaars-generator/node_modules/@types/react-helmet/index.d.ts (41,35): error TS2339: Property 'Component' does not exist on type 'typeof React'.

I have installed the latest version of lodash and typescript

khanhnguyen8x avatar Aug 19 '19 04:08 khanhnguyen8x