Skip to content

Backend setup fails due to missing dependencies and incomplete setup instructions #151

@gauravsingh001-cyber

Description

@gauravsingh001-cyber

Description

While setting up the ExtensionShield backend locally, I encountered multiple runtime errors due to missing dependencies.

The backend failed to start successfully, even after following the available setup steps.

Environment Details

OS: Windows (tested via VS Code terminal)
Python Version: 3.14
Setup Method: Manual run using uvicorn

Steps to Reproduce

Clone the repository

Navigate to backend folder:

cd src

Run:

python -m uvicorn extension_shield.api.main:app --reload --port 8007

Observed Behavior

The backend fails to start and throws multiple ModuleNotFoundError errors sequentially.

Errors Encountered
ModuleNotFoundError: No module named 'slowapi'
ModuleNotFoundError: No module named 'reportlab'
ModuleNotFoundError: No module named 'bs4'
ModuleNotFoundError: No module named 'langgraph'
ModuleNotFoundError: No module named 'dateutil'

Analysis

These errors indicate that required dependencies are not properly declared in the project.

Instead of failing once, the setup fails repeatedly with different missing modules, which makes onboarding difficult for new contributors.

Impact

Backend cannot be started directly
New contributors face repeated setup failures
Time-consuming manual debugging required
Poor developer onboarding experience

Suggested Improvements

Provide a complete dependency list (requirements.txt or pyproject.toml)
Ensure all required packages are installed during setup
Fix or document the make install process (currently depends on uv)
Add clear setup instructions for Windows users
Provide a fallback using pip

Image Image Image Image

Additional Observation

The setup worked more smoothly on a Linux environment (Ubuntu), suggesting cross-platform inconsistencies.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions