Skip to content

import error #1

@shawhu

Description

@shawhu

just failed using Anthropic sdk in an expo project and found this...

installed the package with

npm i anthropic-react-native

and in code

import Anthropic from "anthropic-react-native"; //error: Cannot find module 'anthropic-react-native' or its corresponding type declarations.ts(2307)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions