This document covers some common installation issues with FRET, and how to solve them.
We have added package-lock.json files, as recommended by nodeJS, to assist the installation of FRET. These files were previously untracked (prior to release 3.1). If you get an "untracked working tree files error" when pulling the new code, please delete your local package-lock.json files.
If you encounter GPU-related issues on Ubuntu 22.04 LTS, here is a workaround (see also here):
- cd fret/fret-electron
- Open package.json in an editor
- Find the "scripts" object, change the value of the "start" key from "cross-env NODE_ENV=production electron ./app/" to "cross-env NODE_ENV=production electron --no-sandbox ./app/"
- Save and exit the editor
- npm start
If you encounter glibc-related issues when using the executable built by the Docker image, try the following steps:
- Open the "Dockerfile" file in an editor (this file should be in the "fret" root folder if you already attempted to build a binary)
- Change "FROM ubuntu:latest" to "FROM ubuntu:focal"
- Try again the Docker instructions, starting with step 4.