Skip to content

fix: move debug from devDependencies to dependencies#197

Open
0xNived wants to merge 1 commit into
ItzDerock:masterfrom
0xNived:fix/debug-dependency-issue-196
Open

fix: move debug from devDependencies to dependencies#197
0xNived wants to merge 1 commit into
ItzDerock:masterfrom
0xNived:fix/debug-dependency-issue-196

Conversation

@0xNived
Copy link
Copy Markdown

@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
ItzDerock added a commit that referenced this pull request Dec 23, 2025
Co-authored-by: 0xNived <nivedonly123@gmail.com>
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