[PR #14145] fix: allow app to build without UI dist directory #14536

Open
opened 2026-04-13 00:57:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14145
Author: @jmorganca
Created: 2/7/2026
Status: 🔄 Open

Base: mainHead: fix-app-dist-embed


📝 Commits (1)

  • 03f56d3 fix: allow app to build without UI dist directory

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 app/ui/app.go (+4 -1)
app/ui/app/dist/README.md (+1 -0)

📄 Description

Add a placeholder README.md in app/ui/app/dist so the go:embed directive doesn't fail when the UI hasn't been built. Also improve the error message when index.html is not found to help developers understand they need to run 'npm run build'.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14145 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 2/7/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-app-dist-embed` --- ### 📝 Commits (1) - [`03f56d3`](https://github.com/ollama/ollama/commit/03f56d3c307b67119f2957dc9c3352368a9880b4) fix: allow app to build without UI dist directory ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/ui/app.go` (+4 -1) ➕ `app/ui/app/dist/README.md` (+1 -0) </details> ### 📄 Description Add a placeholder README.md in app/ui/app/dist so the go:embed directive doesn't fail when the UI hasn't been built. Also improve the error message when index.html is not found to help developers understand they need to run 'npm run build'. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:57:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#14536