Skip to content

Module import error on Next 14.1.3 #290

Description

@laurawatters

react-google-recaptcha version: 2.1.9
node version: 18.18.2
next: 14.1.3
typescript: 4.9.5
macOS: Sonoma 14.4

I'm getting an Unable to resolve path to module 'react-google-recaptcha' error and I'm not exactly sure how to fix this. I have tried everything I can think of and I still get this error:

Screenshot 2024-03-20 at 11 47 25 AM

I'm also using Typescript, so I tried npm i @types/react-google-recaptcha, restarted the TS server, reloaded my IDE, and it still didn't solve the issue.

Any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions