Skip to content

Conversation

@0xNived
Copy link

@0xNived 0xNived commented Dec 10, 2025

Fixes #196

Problem

The debug module was incorrectly placed in devDependencies, causing "Cannot find module 'debug'" errors when the package is installed from pnpm. This broke version 3.3.0 for all users.

Solution

Moved debug from devDependencies to dependencies since it's imported and used in src/downloader/images.ts.

Testing

  • Tested locally by building the package with pnpm
  • Verified the fix works in a Discord bot using the transcript generation feature
  • Confirmed the module is now properly included when installed via pnpm

Fixes ItzDerock#196

The debug module was incorrectly placed in devDependencies, causing
'Cannot find module debug' errors when the package is installed from npm.
This fix moves debug to dependencies where it belongs since it's imported
in src/downloader/images.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Objects are not valid as a React child...

1 participant