Here's the project I am running: https://github.com/ianmacartney/streaming-chat-gpt
I successfully ran the project on my device (M1 MacOS) after running "npm install" and "npm run dev". I even got it working with the backend Convex DB running locally! I am, however, having issues deploying it to production. After following the Vercel/Netlify directions I got from: https://docs.convex.dev/production/hosting/ here is the error I'm facing:
node_modules/vite/dist/node/index.d.ts(843,22): error TS2420: Class 'import("/vercel/path0/node_modules/vite/dist/node/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref
✖ 'npm run build' failed
Error: Command "npx convex deploy --cmd 'npm run build'" exited with 1
How would I best troubleshoot this so I can try deploying the website?