Skip to content

Build errors for the desktop app and Vite error for the web app #1511

@Github11200

Description

@Github11200

Bug Description

Bug:

Running bun dev inside apps/whispering in the main branch with the latest commit (the hash is 2e7208abeab3c40fee7e5b72d7e0470e2d480343) creates the following build error:

  CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
    Could NOT find Vulkan (missing: Vulkan_INCLUDE_DIR) (found version "")
  Call Stack (most recent call first):
    /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake/Modules/FindVulkan.cmake:694 (find_package_handle_standard_args)
    ggml/src/CMakeLists.txt:634 (find_package)

In addition to this, running bun dev:web in the same branch with the same commit produces the following error from vite:

3:56:31 PM [vite] (client) Pre-transform error: Failed to resolve import ".." from "src/lib/query/delivery.ts". Does the file exist?
  Plugin: vite:import-analysis
  File: /home/arch/code/contributions/epicenter/apps/whispering/src/lib/query/delivery.ts:7:20
  3  |  import { defineMutation } from "$lib/query/client";
  4  |  import { settings } from "$lib/state/settings.svelte";
  5  |  import { rpc } from "..";
     |                       ^
  6  |  export const delivery = {
  7  |    /**

Expected behavior:

The app should be building without errors in both the web and desktop version.

Steps to reproduce:

  1. Clone the repository with the latest commit.
  2. Run cd apps/whispering.
  3. Run bun install && bun dev for the CMake error or bun install && bun dev:web for the Vite error.

Additional context:

There is a workaround where you can revert to an older commit, specifically 91f47b3f4e603a0a056c5d661cbb66419a4b2713, but it doesn't have the latest changes and PR's that have been merged.

Platform

Linux

Affected Component

UI-App (desktop interface), UI-Web (web interface), Transcription

Whispering Version

v7.5.1

Severity

Moderate (workaround available)

Discord Link

No response

Checklist

  • I have searched existing issues to ensure this hasn't been reported
  • I have included all relevant information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA defect or unexpected behavior that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions