mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-23 03:23:08 -05:00
[PR #20382] [CLOSED] fix: Add missing y-protocols dependency for collaboration features #64447
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20382
Author: @Classic298
Created: 1/5/2026
Status: ❌ Closed
Base:
dev← Head:y-shit📝 Commits (4)
cc42135refacfea43b9Delete setup.mdc899eb2fix1f37566Merge branch 'y-shit' of https://github.com/Classic298/open-webui into y-shit📊 Changes
4 files changed (+25 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+20 -0)📝
package-lock.json(+1 -1)📝
package.json(+1 -0)📝
vite.config.ts(+3 -0)📄 Description
Summary
Added y-protocols as an explicit dependency in package.json to fix Vite build errors with collaborative editing features.
Problem
The y-prosemirror package has y-protocols as a peer dependency, but it wasn't explicitly listed in package.json. This caused
Vite to fail with "Could not resolve y-protocols/awareness" during dependency optimization.
Solution
Added "y-protocols": "^1.0.7" to the dependencies section to ensure it's installed and available for Vite's dependency
optimizer.
Changes
Added y-protocols dependency
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.