Tagged: npm
Nextjs
TypeScript error: Cannot find module 'X' or its corresponding type declarations
Either the package isn't installed, or it doesn't ship its own TypeScript types and you're missing the matching `@types/` package. Try installing `@types/<package-name>` — if that package doesn't exist either, the library likely has no type support and you'll need a manual type declaration.
Draft·
DeploymentModule not found: Can't resolve 'tailwindcss' after Vercel build
Vercel's production install can prune devDependencies before the build step in some configurations, so if `tailwindcss` (or another build-time tool) is listed only under `devDependencies`, the build can fail even though it works locally. Move build-critical packages to `dependencies`, or confirm your install command isn't skipping dev packages.
Draft·