SchildiChat / schildichat-desktop

Matrix client / Element Web/Desktop fork
https://schildi.chat
Apache License 2.0
370 stars 42 forks source link

ERROR (Maybe not Schlidi's fault) when compiling from source. #221

Closed SlimTux closed 6 months ago

SlimTux commented 6 months ago

Hello, I followed the instructions in the documentation and got an error when compiling from source (Arch Linux)

I personally think that is an issue with the node(yarn) version (Schlidi has probaly not upgrade to a newer version, but i may be wrong)

pic-selected-231205-1638-06

How to reproduce the error

$ mkdir $HOME/APPS/Chat $ cd APPS/Chat $ git clone -b master --recurse-submodules https://github.com/SchildiChat/schildichat-desktop.git $ cd schildichat-desktop $ make setup

I dont know how to use labels and publish a proper Issue

SpiritCroc commented 6 months ago

If I remember correctly, best is to use nvm to manage node versions. For Arch in particular, it can sometimes be useful to check the schildichat-desktop-git AUR PKGBUILD to compare how others build it. Looks like I'm personally using node 16 to build right now, just like the AUR recipe.

SlimTux commented 6 months ago

Thank you @SpiritCroc, it solved my issue.