Files
Claude Code c2171f63c5 Fix node loading issues and improve dependency handling
- Fix Google API import handling with graceful fallback
- Add better error messages and console logging
- Remove unused json import
- Add installation guide with troubleshooting steps
- Add test script for diagnosing import issues
- Node now works without Google API dependencies (ImgBB only)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-23 20:15:05 -07:00

1.5 KiB

Installation Guide

Quick Start (ImgBB Only)

If you only want to use ImgBB (supports images up to 32MB):

  1. No additional installation needed - the node will work out of the box
  2. Get an ImgBB API key from https://api.imgbb.com/
  3. Use the imgbb_api_key parameter in the node

Full Installation (ImgBB + Google Drive)

For large image support (>32MB) via Google Drive:

Install Dependencies

pip install google-api-python-client google-auth

Or if you're using ComfyUI's Python environment:

# Windows
path\to\comfyui\python_embeded\python.exe -m pip install google-api-python-client google-auth

# Linux/Mac
/path/to/comfyui/venv/bin/pip install google-api-python-client google-auth

Setup Google Drive

Follow the detailed setup guide in GOOGLE_DRIVE_SETUP.md

Troubleshooting

"Missing Node Types" Error

This usually means the Google API dependencies aren't installed:

  1. Check ComfyUI console for error messages
  2. Install dependencies using the commands above
  3. Restart ComfyUI completely
  4. Look for these messages in console:
    • ✅ [Upsampler] Google Drive integration available (good)
    • ⚠️ [Upsampler] Google Drive integration disabled (install dependencies)

Still Having Issues?

  1. Check that you're installing in the correct Python environment
  2. Make sure ComfyUI can find the installed packages
  3. Try restarting ComfyUI after installation
  4. Check the console for detailed error messages