Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors trying to build OpenAI Realtime API Quickstart #231

Closed
jambudipa opened this issue Dec 28, 2024 · 1 comment
Closed

Errors trying to build OpenAI Realtime API Quickstart #231

jambudipa opened this issue Dec 28, 2024 · 1 comment

Comments

@jambudipa
Copy link

Describe the bug

Lots of missing package errors when running node dist/agent.js dev. This one for starters:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@livekit/rtc-node' imported from /Users/*****/Desktop/livekit/livekit-test/node_modules/.pnpm/@livekit[email protected]/node_modules/@livekit/agents/dist/job.js

Even when installing that, a new error happens:

import { Duration } from "@bufbuild/protobuf";
^^^^^^^^
SyntaxError: The requested module '@bufbuild/protobuf' does not provide an export named 'Duration'

Server

I am following the quick start here:

https://docs.livekit.io/agents/quickstarts/s2s/

To Reproduce

Following the instructions on the page above:

  1. lk app create --template multimodal-agent-node
  2. cd livekit-test
  3. pnpm install
  4. pnpm build
  5. node dist/agent.js dev

Expected behavior

I would not expect it to fail with errors!

@davidzhao
Copy link
Member

dup

@davidzhao davidzhao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants