atampy25 / simple-mod-framework

GNU Lesser General Public License v3.0
61 stars 43 forks source link

[Issue Report] mr_clever: deployment error #683

Open simple-mod-framework[bot] opened 1 year ago

simple-mod-framework[bot] commented 1 year ago

Metadata

Reported by: mr_clever on Discord

Type of issue: Deployment error

Platform: Epic

OS version: Windows 11 Home (22H2)

Game version: 3.170.1

SMF version: 2.33.6

Notes

I followed the standard installation process for your mod. I'm using the latest version of the mod and the game. The suspected mod is Hackable Everything but it won't let me type it in above. I'm encountering an error during the installation of your mod, and I believe it's related to a problem with the spawnSync command using cmd.exe. The error message I'm receiving is: Error: spawnSync cmd.exe ENOENT. I've already checked my system's PATH environment variable to ensure it includes C:\Windows\System32, and I've restarted my terminal. It seems the error is originating from a JavaScript file called quickentity-rs.js within the mod framework. Do you have any insights or suggestions regarding this error? Are there any specific dependencies or commands that the mod installation relies on, which I might need to address? Have there been any recent changes or updates in the mod or system environment that could be related to this issue? I'm really looking forward to enjoying your mod once this issue is sorted out. Thanks :)

Additional information

Deploy log link: https://hastebin.com/share/burukukure

Suspected mod: N/A

Mr-C1ever commented 1 year ago

Additional Note: Epic Games Launcher Issue:

I've also noticed an unusual behavior with the Epic Games Launcher while the "Simple Mod Framework" folder is present in the game directory. Even after I've closed the game (confirmed by checking the Task Manager), the launcher seems to erroneously report that the game is still running.

This behaviour might be related to the presence of the mod framework in the game directory, and it could potentially be another piece of the puzzle in understanding the error I encountered during the mod installation.

I thought it would be important to mention this issue, as it might be an indicator of some underlying conflict or interference between the mod framework and the game launcher.

Any insights or suggestions on this matter would be greatly appreciated as well. It might provide a clue to resolving both the installation error and the launcher reporting issue.

Thank you for your assistance.

atampy25 commented 1 year ago

The Epic Games Launcher issue might be because of the failed deploy; sometimes the Node.js exe (Deploy.exe) or rpkg-cli.exe continue running after they should close (restarting should fix this).

The spawnSync cmd.exe ENOENT error is very strange. Typically it would indicate that somehow cmd.exe is missing or not findable but given your PATH contains System32 that shouldn't be an issue. Could you show the value of your ComSpec environment variable?

Mr-C1ever commented 1 year ago

C:\WINDOWS\system32\cmd.exe