Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error TS2304: Cannot find name 'Exclude'. #36

Open
danielkramer opened this issue Jul 27, 2019 · 1 comment
Open

error TS2304: Cannot find name 'Exclude'. #36

danielkramer opened this issue Jul 27, 2019 · 1 comment

Comments

@danielkramer
Copy link

danielkramer commented Jul 27, 2019

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

@khanhnguyen8x
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants