-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
I am encountering an error when using the "react-linkify" library in my Next.js app. When I run npm run prod, I see the following error message:
"Imported via "react-linkify" from file 'C:/Users/....' with packageId '@types/react-linkify/index.d.ts@1.0.1'"
I have tried the following to resolve the issue:
- Upgrading to the latest version of "react-linkify" (v1.0.0-alpha.5)
- Adding "typeRoots": ["./node_modules/@types"] to my tsconfig.json file
- Removing the "exclude" property from my tsconfig.json file
However, none of these solutions have worked. I am using TypeScript v4.4.4 and Next.js v12.1.0.
Can you please provide any guidance on how to resolve this issue? Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels