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

[Bug] Vercel Deployment Errors v0.162.24 #2874

Closed
1 of 17 tasks
luckfu opened this issue Jun 14, 2024 · 4 comments
Closed
1 of 17 tasks

[Bug] Vercel Deployment Errors v0.162.24 #2874

luckfu opened this issue Jun 14, 2024 · 4 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@luckfu
Copy link

luckfu commented Jun 14, 2024

📦 Environment

  • Official
  • Official Preview
  • Vercel / Zeabur / Sealos
  • Docker
  • Other

📌 Version

v0.162.24

💻 Operating System

  • Windows
  • macOS
  • Ubuntu
  • Other Linux
  • iOS
  • Android
  • Other

🌐 Browser

  • Chrome
  • Edge
  • Safari
  • Firefox
  • Other

🐛 Bug Description

Failed to compile.
./src/services/ollama.ts:48:7
Type error: Type 'AbortableAsyncIterator<ProgressResponse>' is not assignable to type 'Response | AsyncGenerator<ProgressResponse, any, unknown>'.
  Type 'AbortableAsyncIterator<ProgressResponse>' is missing the following properties from type 'AsyncGenerator<ProgressResponse, any, unknown>': next, return, throw
  46 |     let response: Response | AsyncGenerator<ProgressResponse>;
  47 |     try {
> 48 |       response = await this.getOllamaClient().pull({ insecure: true, model, stream: true });
     |       ^
  49 |       return response;
  50 |     } catch {
  51 |       response = createErrorResponse(ChatErrorType.OllamaServiceUnavailable, {
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1

📷 Recurrence Steps

Vercel Deployment

🚦 Expected Behavior

No response

📝 Additional Information

No response

@luckfu luckfu added the 🐛 Bug Something isn't working | 缺陷 label Jun 14, 2024
@lobehubbot
Copy link
Member

👀 @luckfu

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Jun 14, 2024

应该已经修了,试试安装下最新的依赖

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It should have been fixed. Try installing the latest dependencies.

@arvinxx arvinxx closed this as completed Jun 16, 2024
@lobehubbot
Copy link
Member

@luckfu

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Archived in project
Development

No branches or pull requests

3 participants