issue: can"t build v0.6.18 #5831

Closed
opened 2025-11-11 16:35:14 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @sanchitbhavsar on GitHub (Jul 21, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.6.18

Ollama Version (if applicable)

No response

Operating System

macos

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

project should build

Actual Behavior

failing on build, first it was failing on

npm warn Could not resolve dependency:
npm warn peer @tiptap/core@"^3.0.7" from @tiptap/extension-youtube@3.0.7

after adding this fix to force npm --legacy-peer-deps --force but now it complains about,
[vite]: Rollup failed to resolve import "y-protocols/awareness" from "/runner/_work/tech/ai/node_modules/y-prosemirror/src/plugins/cursor-plugin.js".

Steps to Reproduce

just building the project npm install & build

Logs & Screenshots

[vite]: Rollup failed to resolve import "y-protocols/awareness" from "/runner/_work/tech/ai/node_modules/y-prosemirror/src/plugins/cursor-plugin.js".

Additional Information

No response

Originally created by @sanchitbhavsar on GitHub (Jul 21, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.6.18 ### Ollama Version (if applicable) _No response_ ### Operating System macos ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior project should build ### Actual Behavior failing on build, first it was failing on ``` npm warn Could not resolve dependency: npm warn peer @tiptap/core@"^3.0.7" from @tiptap/extension-youtube@3.0.7 ``` after adding this fix to force npm `--legacy-peer-deps --force` but now it complains about, `[vite]: Rollup failed to resolve import "y-protocols/awareness" from "/runner/_work/tech/ai/node_modules/y-prosemirror/src/plugins/cursor-plugin.js".` ### Steps to Reproduce just building the project npm install & build ### Logs & Screenshots `[vite]: Rollup failed to resolve import "y-protocols/awareness" from "/runner/_work/tech/ai/node_modules/y-prosemirror/src/plugins/cursor-plugin.js".` ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:35:14 -06:00
Author
Owner

@tjbck commented on GitHub (Jul 21, 2025):

I have searched the existing issues and discussions.

PLEASE check for existing issues before creating a new post.

@tjbck commented on GitHub (Jul 21, 2025): > I have searched the existing issues and discussions. PLEASE check for existing issues before creating a new post.
Author
Owner

@sanchitbhavsar commented on GitHub (Jul 21, 2025):

@tjbck I have searched but could not find this issue being reported, the only one i could find was this https://github.com/open-webui/open-webui/issues/15880 but i already added this to build but it fails again due to y-protocols

@sanchitbhavsar commented on GitHub (Jul 21, 2025): @tjbck I have searched but could not find this issue being reported, the only one i could find was this https://github.com/open-webui/open-webui/issues/15880 but i already added this to build but it fails again due to `y-protocols`
Author
Owner

@mettbest commented on GitHub (Jul 21, 2025):

same here, the https://github.com/open-webui/open-webui/issues/15880 is aready applied.

@mettbest commented on GitHub (Jul 21, 2025): same here, the https://github.com/open-webui/open-webui/issues/15880 is aready applied.
Author
Owner

@tjbck commented on GitHub (Jul 21, 2025):

please refer to the changelogs, only --force flag should be applied, without the legacy dep flag.

@tjbck commented on GitHub (Jul 21, 2025): please refer to the changelogs, only `--force` flag should be applied, without the legacy dep flag.
Author
Owner

@rgaricano commented on GitHub (Jul 21, 2025):

@tjbck I have searched but could not find this issue being reported, the only one i could find was this #15880 but i already added this to build but it fails again due to y-protocols

https://github.com/open-webui/open-webui/issues/15887
SOLVED adding
"y-protocols":"^1.0.6",
in Dependencies section of package.json

@rgaricano commented on GitHub (Jul 21, 2025): > [@tjbck](https://github.com/tjbck) I have searched but could not find this issue being reported, the only one i could find was this [#15880](https://github.com/open-webui/open-webui/issues/15880) but i already added this to build but it fails again due to `y-protocols` https://github.com/open-webui/open-webui/issues/15887 **SOLVED** adding ` "y-protocols":"^1.0.6",` in Dependencies section of package.json
Author
Owner

@sanchitbhavsar commented on GitHub (Jul 21, 2025):

@tjbck just with --force flag, it does not appear and app can be build.

@sanchitbhavsar commented on GitHub (Jul 21, 2025): @tjbck just with `--force` flag, it does not appear and app can be build.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5831