[Bug] node-api-dotnet searches for dotnet lib folder in wrong directory #553

Closed
opened 2026-04-05 16:20:56 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @osiris-plus on 2/11/2025

Describe the bug
OS Release: Fedora KDE 40
I have installed dotnet-runtime-8.0 package through dnf. When I try to run VRCX.AppImage I get the following error.

$ ./VRCX.AppImage 
A JavaScript error occurred in the main process
Uncaught Exception:
Error: .NET installation not found at /usr/lib/dotnet
    at initialize (/tmp/.mount_VRCX.AFIP33x/resources/app.asar.unpacked/node_modules/node-api-dotnet/init.js:78:23)
    at Object.<anonymous> (/tmp/.mount_VRCX.AFIP33x/resources/app.asar.unpacked/node_modules/node-api-dotnet/net8.0.js:2:18)
    at Module._compile (node:internal/modules/cjs/loader:1484:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/tmp/.mount_VRCX.AFIP33x/resources/app.asar.unpacked/build/Electron/VRCX-Electron.cjs:5:16)

The dotnet library folder exists in /usr/lib64/dotnet. Creating a symlink solves the problem completely and VRCX launches correctly and copies itself to ~/Applications with no issues.

ln -s /usr/lib64/dotnet /usr/lib/dotnet

Expected behavior
The user should not be required to create symlink.

What version you are running
VRCX 2025.01.31 Linux AppImage

*Originally created by @osiris-plus on 2/11/2025* **Describe the bug** OS Release: Fedora KDE 40 I have installed `dotnet-runtime-8.0 ` package through dnf. When I try to run VRCX.AppImage I get the following error. ``` $ ./VRCX.AppImage A JavaScript error occurred in the main process Uncaught Exception: Error: .NET installation not found at /usr/lib/dotnet at initialize (/tmp/.mount_VRCX.AFIP33x/resources/app.asar.unpacked/node_modules/node-api-dotnet/init.js:78:23) at Object.<anonymous> (/tmp/.mount_VRCX.AFIP33x/resources/app.asar.unpacked/node_modules/node-api-dotnet/net8.0.js:2:18) at Module._compile (node:internal/modules/cjs/loader:1484:14) at Module._extensions..js (node:internal/modules/cjs/loader:1564:10) at Module.load (node:internal/modules/cjs/loader:1295:32) at Module._load (node:internal/modules/cjs/loader:1111:12) at c._load (node:electron/js2c/node_init:2:16955) at Module.require (node:internal/modules/cjs/loader:1318:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (/tmp/.mount_VRCX.AFIP33x/resources/app.asar.unpacked/build/Electron/VRCX-Electron.cjs:5:16) ``` The `dotnet` library folder exists in /usr/lib64/dotnet. Creating a symlink solves the problem completely and VRCX launches correctly and copies itself to ~/Applications with no issues. ``` ln -s /usr/lib64/dotnet /usr/lib/dotnet ``` **Expected behavior** The user should not be required to create symlink. **What version you are running** VRCX 2025.01.31 Linux AppImage
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#553