So I got Fedora 39 on my laptop and tried to download some games and launch it with Heroic games launcher, the problem is that every time i get error message like this:
Error running command “HEROIC_APP_NAME=73gpa3AdXvB7eCF8mJGJUW HEROIC_APP_RUNNER=sideload HEROIC_APP_SOURCE=sideload LD_PRELOAD= “/home/mark/Dark Souls/DARK SOULS – Prepare To Die Edition/DATA/DARKSOULS.exe” gamescope -w 1920 -h 1080 -W 3440 -H 1440 -b –“: Error: spawn ./DARKSOULS.exe ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
I found that may help adding C:WindowsSystem32 to the global PATH environment variable, but I don’t understand how to do that so I tried removing node_modules and package.json, but it just didn’t found it in files and when I tried npm install it showed me:
mark@fedora:~$ npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/mark/package.json
npm ERR! errno -2
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open ‘/home/mark/package.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: /home/mark/.npm/_logs/2024-04-25T14_28_29_784Z-debug-0.log
What can I do?
Марк Кожухівський is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.