Skip to content

Getting compilation error when attempting to run react demo #39

Description

@john-heintschel

I'm attempting to run through the "Getting started" flow to introduce the FlatfileButton component into my react/typescript app, and running into a compilation error:

ERROR in /Users/john/check/console/node_modules/@flatfile/react/dist/components/FlatFileButton.d.ts
ERROR in /Users/john/check/console/node_modules/@flatfile/react/dist/components/FlatFileButton.d.ts(1,28):
TS2614: Module '"../../../adapter/build/main"' has no exported member 'FieldHookCallback'. Did you mean to use 'import FieldHookCallback from "../../../adapter/build/main"' instead?
ℹ 「wdm」: Failed to compile.

I'm following the code example exactly.
My relevant dependency versions are:

react@16.14.0
react-dom@16.14.0
@flatfile/react@0.3.5
typescript@3.9.3

Any suggestions?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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