Skip to content

Unable to build production version on UbuntuΒ #94

@ghost

Description

Hi - the product looks interesting, would like to try it out, but can't build it. Here is my terminal history (fresh install):

   16  sudo apt-get install -y git cmake curl python3 build-essential pkg-config libsecret-1-0 libsecret-1-dev ca-certificates openssh-client dpkg-dev dpkg-sig
   17  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
   18  exit
   19  nvm install 14.19.0
   20  cd git
   21  git clone [email protected]:cattr-app/desktop-application.git
   22  ssh-keygen
   23  cd ~/.ssh
   24  ls
   25  cat id_rsa.pub 
   26  cd ~/git
   27  git clone [email protected]:cattr-app/desktop-application.git
   28  ls
   29  cd desktop-application/
   30  nvm use 14.19.0
   31  npm i -g yarn
   32  yarn -v
   33  yarn
   34  yarn package-linux
   35  npm config set git-tag-version false
   36  yarn package-linux
   37  npm version v1.0.0
   38  yarn package-linux
   39  ls
   40  ls target
   41  cd target
   42  ls
   43  ./Cattr.AppImage --register
   44  ./Cattr.AppImage 
   45  history

And here is the error:

user@machine:~/git/desktop-application/target$ ./Cattr.AppImage 
[D] [2025-03-23T09:54:11.708Z] [UserPreferences] Preferences file detected, trying to read
[D] [2025-03-23T09:54:11.709Z] [UserPreferences] Preferences file successfully read
Hello / [email protected] in prod mode
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
[22578:0323/095412.023591:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[D] [2025-03-23T09:54:12.203Z] [Database] Migrations applied successfully
[D] [2025-03-23T09:54:12.203Z] [Database] Database successfully initialized
[D] [2025-03-23T09:54:12.211Z] [Router] Starting routes load
[D] [2025-03-23T09:54:12.246Z] [Router:Authentication] Loaded
[D] [2025-03-23T09:54:12.256Z] [Router:Miscellaneous] Loaded
[D] [2025-03-23T09:54:12.256Z] [Router:Projects] Loaded
[D] [2025-03-23T09:54:12.257Z] [Router:Tracking] Loaded
[D] [2025-03-23T09:54:12.257Z] [Router:Tasks] Loaded
[D] [2025-03-23T09:54:12.258Z] [Router:Time] Loaded
[D] [2025-03-23T09:54:12.258Z] [Router:Trasnlation] Loaded
[D] [2025-03-23T09:54:12.259Z] [Router:UserPreferences] Loaded
[D] [2025-03-23T09:54:12.259Z] [Router:Offline] Loaded
[D] [2025-03-23T09:54:12.268Z] [Router:Intervals] Loaded
[D] [2025-03-23T09:54:12.379Z] [Screen-Notifier] Loaded
[D] [2025-03-23T09:54:12.382Z] [Tray] Loaded
[D] [2025-03-23T09:54:12.383Z] [PowerManager] Loaded
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Requested page app.html was not found
    at loadPage (/tmp/.mount_Cattr.nAiFgR/resources/app.asar/app/src/app.js:91:13)
    at App.<anonymous> (/tmp/.mount_Cattr.nAiFgR/resources/app.asar/app/src/app.js:182:3)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
^[[1;2A^[[1;2A^[[1;2A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions