Skip to content

[BUG] --clear in start dev does not work #486

@SalahAdDin

Description

@SalahAdDin

Describe the bug
Launching the dev script from the shell, we always get a prompt asking to remove the .venv; we can skip that prompt with a flag.

It does not work, using the flag shows that prompt yet.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the terminal.
  2. Go to the repository folder.
  3. Run the dev script: ./setup.sh --clear --start-dev.
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Bash log:

❯ ./setup.sh --clear --start-dev
ℹ  Detected operating system: Linux
ℹ  Checking prerequisites…
✅ pip3 is available
✅ All prerequisites satisfied.
ℹ  Checking Ollama installation…
ℹ  No .env.example at root—skipping
ℹ  Installing root dependencies with npm ci…

> resume-matcher@0.0.1 install
> npm run install:frontend && npm run install:backend


> resume-matcher@0.0.1 install:frontend
> cd apps/frontend && npm install


up to date, audited 377 packages in 1s

143 packages are looking for funding
  run `npm fund` for details

3 low severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues, run:
  npm audit fix --force

Run `npm audit` for details.

> resume-matcher@0.0.1 install:backend
> cd apps/backend && uv venv && uv pip install .

Using CPython 3.12.11 interpreter at: /usr/bin/python3
Creating virtual environment at: .venv
? A virtual environment already exists at `.venv`. Do you want to replace it? [y/n] › yes

hint: Use the `--clear` flag or set `UV_VENV_CLEAR=1` to skip this prompt

Desktop (please complete the following information):

  • OS: Deepin crimson 25 x86_64
  • Browser: Zen Browser 1.14.10b (Firefox 141.0.2) (64-bit
  • Version: 0.01 Resume Matcher

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions