lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.72k stars 9.27k forks source link

Update to next@13.5.7 #413

Closed Asuka109 closed 10 months ago

Asuka109 commented 10 months ago

The next@13.5.7-canary.12 don't error when bundling optional peer deps.

https://github.com/vercel/next.js/releases/tag/v13.5.7-canary.12

Just a reminder to update to 13.5.7 once it is released.

./node_modules/microsoft-cognitiveservices-speech-sdk/node_modules/ws/lib/validation.js
Module not found: Can't resolve 'utf-8-validate' in '/Users/asuka109/repositories/lobe-chat/node_modules/microsoft-cognitiveservices-speech-sdk/node_modules/ws/lib'

Import trace for requested module:
./node_modules/microsoft-cognitiveservices-speech-sdk/node_modules/ws/lib/validation.js
./node_modules/microsoft-cognitiveservices-speech-sdk/node_modules/ws/lib/receiver.js
./node_modules/microsoft-cognitiveservices-speech-sdk/node_modules/ws/index.js
./node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/WebsocketMessageAdapter.js
./node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/Exports.js
./node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk.js
./node_modules/@lobehub/ui/es/useTTS/services/postAzureSpeech.js
./node_modules/@lobehub/ui/es/useTTS/hooks/useAzureSpeech.js
./node_modules/@lobehub/ui/es/useTTS/index.js
./node_modules/@lobehub/ui/es/index.js
./src/app/market/(desktop)/index.tsx
lobehubbot commented 10 months ago

👀 @Asuka109

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 commented 10 months ago

Which package manager do you use? If you use pnpm, you will install latest next13 by default.

Asuka109 commented 10 months ago

You can reproduce the problem by installing dependencies with bun@1.0.9 from scratch. It was fixed in the pre-released version.

arvinxx commented 10 months ago

Have solved this error. It's due to a node deps on ui components. We have removed it.

https://github.com/lobehub/lobe-ui/commit/02e67b76673e02be5e07829695bdead2bcad6e4f

lobehubbot commented 10 months ago

✅ @Asuka109

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