I have this error when i want download certain mod...
# ask-ai
b
I have this error when i want download certain models such as Silero VAD and the LiveKit turn detector: pnpm run download-files  ERR_PNPM_NO_SCRIPT  Missing script: download-files Command "download-files" not found.
t
Thanks for reaching out, moundziegou. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! That
ERR_PNPM_NO_SCRIPT Missing script: download-files
error pops up because the
download-files
command is actually part of LiveKit's Python SDK, not
pnpm
(which is a Node.js package manager). No worries though—here’s how you can fix it: 1. First, make sure you’re running things in the Python environment for LiveKit agents. The right command to grab models like Silero VAD and the LiveKit turn detector is:
python agent.py download-files
2. If you’re using the
uv
package manager, you can also try:
uv run agent.py download-files
3. Don’t forget to have the necessary plugins installed via pip with the right extras: ◦ For Silero VAD:
pip install "livekit-agents[silero]~=1.0"
◦ For Turn Detector:
pip install "livekit-agents[turn-detector]~=1.0"
Just a heads-up—the
pnpm
command isn’t connected to Python agent workflows. So if you’re working in a Node.js setup, double-check how you’re loading models, since the
download-files
script is specific to the Python SDK. Hope this helps! Sources: Voice AI quickstart | LiveKit Docs | LiveKit turn detector plugin | LiveKit Docs | plugins/silero/package.json | Silero VAD plugin | LiveKit Docs | livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector...