[BUG] `--clear` in start dev does not work
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:
- Go to the terminal.
- Go to the repository folder.
- Run the dev script:
./setup.sh --clear --start-dev. - 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…
> [email protected] install
> npm run install:frontend && npm run install:backend
> [email protected] 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.
> [email protected] 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
The setup.sh script does not support --clear flag.
You'll probably need to edit the package.json and add the flag to the respective install:backend value:
The setup.sh script does not support --clear flag.
It should be supported, or that warning message should be removed. Or better, improve the message to make clear where to put that flag.
Hey, Can i be assigned this Issue?