retypeapp / retype

Retype is an ✨ ultra-high-performance✨ static site generator that builds a website based on simple text files.
https://retype.com
Other
1.08k stars 206 forks source link

Failed to resolve .NET reference libraries on WSL Ubuntu 24.04 #718

Open jakmarkowski opened 1 day ago

jakmarkowski commented 1 day ago

Hi, I'm running Retype in WSL with Ubuntu 24.04 LTS. When I'm starting Retype (using retype start) I get an error

ERROR: Failed to resolve .NET reference libraries:
       Unable to load shared library 'hostfxr' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
       /usr/local/lib/node_modules/retypeapp/platforms/linux-x64/hostfxr.so: cannot open shared object file: No such file or directory
       /usr/local/lib/node_modules/retypeapp/platforms/linux-x64/libhostfxr.so: cannot open shared object file: No such file or directory
       /usr/local/lib/node_modules/retypeapp/platforms/linux-x64/hostfxr: cannot open shared object file: No such file or directory
       /usr/local/lib/node_modules/retypeapp/platforms/linux-x64/libhostfxr: cannot open shared object file: No such file or directory

Next the website seems to be served properly, at least for now I haven't had any issues