boundless-accountant-40220
08/21/2025, 2:52 AMtall-airline-16756
08/21/2025, 2:52 AMtall-airline-16756
08/21/2025, 2:52 AMERR_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...