🚨 Missing html-to-image Dependency (Build Blocker)
Issue Description
In src/components/profile/DevCard.tsx, the toPng function is imported from the html-to-image library to allow users to export their developer cards as images:
import { toPng } from 'html-to-image';
However, the html-to-image package is completely absent from the package.json dependencies.
Impact
This omission triggers a critical TypeScript compiler error (TS2307: Cannot find module 'html-to-image') and subsequently crashes the entire Next.js production build process (npm run build) with a Module not found error. Deployments to production will fail until this is resolved.
Proposed Fix
Install the missing library via the package manager (npm install html-to-image) and verify the build.
Suggested Labels
bug
critical
build-failure
🚨 Missing
html-to-imageDependency (Build Blocker)Issue Description
In
src/components/profile/DevCard.tsx, thetoPngfunction is imported from thehtml-to-imagelibrary to allow users to export their developer cards as images:However, the
html-to-imagepackage is completely absent from thepackage.jsondependencies.Impact
This omission triggers a critical TypeScript compiler error (
TS2307: Cannot find module 'html-to-image') and subsequently crashes the entire Next.js production build process (npm run build) with aModule not founderror. Deployments to production will fail until this is resolved.Proposed Fix
Install the missing library via the package manager (
npm install html-to-image) and verify the build.Suggested Labels
bugcriticalbuild-failure