Failed to compile.
./node_modules/.pnpm/@xixixao+uploadstuff@0.0.5_react-dropzone@14.2.6_react@18.3.1react@18.3.1_typescript@5.6.2/node_modules/@xixixao/uploadstuff/lib/UploadDropzone.tsx:2:43
Type error: Could not find a declaration file for module 'react-dropzone'. '/vercel/path0/node_modules/.pnpm/react-dropzone@14.2.6_react@18.3.1/node_modules/react-dropzone/dist/es/index.js' implicitly has an 'any' type.
There are types at '/vercel/path0/node_modules/.pnpm/@xixixao+uploadstuff@0.0.5_react-dropzone@14.2.6_react@18.3.1react@18.3.1_typescript@5.6.2/node_modules/react-dropzone/typings/react-dropzone.d.ts', but this result could not be resolved when respecting package.json "exports". The 'react-dropzone' library may need to update its package.json or typings.
1 | import { useCallback, useState } from "react";
2 | import type { Accept, FileWithPath } from "react-dropzone";
| ^
3 | import { useDropzone } from "react-dropzone";
4 | import { twMerge } from "tailwind-merge";
5 | import { UploadFileResponse } from ".";
ELIFECYCLE Command failed with exit code 1.
✖ 'pnpm build' failed
Error: Command "pnpm dlx convex deploy --cmd 'pnpm build'" exited with 1
#I'm having this issue building with vercel on @xixixao+uploadstuff, can someone help me?
3 messages · Page 1 of 1 (latest)
Hi @merry socket. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
I'm sorry, but the information provided in the knowledge sources does not contain a solution to the specific issue you're encountering with the '@xixixao+uploadstuff' module and 'react-dropzone'. The knowledge sources provided are primarily focused on Convex and its deployment with Vercel and GitHub Pages.
However, based on the error message, it seems like there might be an issue with the type declarations for 'react-dropzone'. You might want to check if the 'react-dropzone' library is correctly installed and its type declarations are accessible.