I am getting this error on the production build on Vercel and local too. Also, vscode shows a type not foud error with a red color line. I am using pnpm
./components/sidebar/tree.tsx:3:21
Type error: Cannot find module 'react-twc' or its corresponding type declarations.
1 | 'use client';
2 |
> 3 | import { twc } from 'react-twc';
| ^
4 | import { useRouter } from 'next/navigation';
5 | import { TypeAnimation } from 'react-type-animation';
6 | import { Trash, Edit } from 'lucide-react';
Checking validity of types . ELIFECYCLE Command failed with exit code 1.
🐛 Bug Report
I am getting this error on the production build on Vercel and local too. Also, vscode shows a type not foud error with a red color line. I am using
pnpm
Paste the results here: