Skip to content

Typescript Error Cannot find name 'Exclude'. #1

@ammaratef45

Description

@ammaratef45

The following error appears in many places when I run ionic serve

Typescript Error Cannot find name 'Exclude'.
node_modules/@types/lodash/common/object.d.ts
defaultValue: TDefault
Exclude<TObject[TKey], undefined> | TDefault;

node -v
v10.15.3
npm -v
6.4.1

Ionic Framework: 3.0.1
Ionic App Scripts: 1.3.0
Angular Core: 4.0.0
Angular Compiler CLI: 4.0.0
Node: 10.15.3
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

I've followed the installation steps in the README
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions