Skip to content

Common Issues

wscullen edited this page Aug 9, 2021 · 12 revisions
  • Chokidar file watcher on Linux runs out of files to watch https://stackoverflow.com/a/56156015

  • when developing and running the application with yarn start, you will need a dev-app-update.yml file so that electron-builder auto update process doesn't throw an error. An example dev-app-update.yml is shown below:

owner: sscullen
repo: tile_viewer
token: <gh person access token here>
provider: github
  • while developing, the react and redux extensions are attempted to be loaded, you will need to install chromium and the appropriate extensions from the Chrome Web Store
  • node-canvas is missing pre-built packages on Windows, make sure to have lib-cairo and pango installed on both Windows and Linux, which is provided through GTK, and that your node-gyp is working properly on Windows
sudo apt install libcairo2-dev
sudo apt install libpango1.0-dev
sudo apt install libjpeg-turbo8-dev
  • a combo that worked on Windows 10, windows build tools 2019, node 14 LTS, set the node compile version with npm config set msvs_version 2019 –global
Clone this wiki locally