scoop-games
scoop-games copied to clipboard
Vortex plugins fail to load
Probably related to #245
When installing Vortex, all or almost all plugins should work out of the box. But when installing Vortex with Scoop, lots of plugins crash with Failed status
One of the plugins that I was interested in, the one for Skyrim Special Edition - failed with the following error
Failed to load: Cannot find module 'exe-version'
This makes the Scoop install for Vortex practically useless for me and I had to manually download and install this program to be able to mod Skyrim
I think there's some modules/plugins that should get installed along with the mod manager, but they don't
I can attest this. I uninstalled and reinstalled Vortex and cleared its Appdata, but some plugins keep failing to load. Apparently it doesn't affect some functionality of Vortex, but it is missing out on game support and features. Below is a screenshot showing many plugins that failed to load. When I install it using the official installer every plugin just works. Thanks.
As of today, the latest Vortex (1.8.4) still has the same issue. I could reproduce it on a system that never had Vortex installed.
I wonder if this line is the culprit: https://github.com/Calinou/scoop-games/blob/f4eed2f710c519187458854efcde57566d060568/bucket/vortex.json#L13
I made a json with the L13 modified as follow
"Remove-Item \"$dir\\Uninstall*\" -Force -Recurse"
And the plugins are still failing to load.
However, as per discussion in https://github.com/Nexus-Mods/Vortex/issues/7579, if I launch Vortex directly (instead of via current
junction/shortcut), everything works just fine. This holds even if I do not modify the installer script.
This behavior in Node.js or whatever Vortex is based off is apparent if you examine the plugin exceptions:
Failed to load: Cannot find module 'redux-act' Require stack:
- C:\Users\Kazuma\scoop\apps\vortex\1.8.4\resources\app.asar.unpacked\bundledPlugins\changelog-dashlet\index.js
- C:\Users\Kazuma\scoop\apps\vortex\1.8.4\resources\app.asar\node_modules\vortex-run\lib\index.js
- C:\Users\Kazuma\scoop\apps\vortex\1.8.4\resources\app.asar\renderer.js
- C:\Users\Kazuma\scoop\apps\vortex\current\resources\app.asar\index.html
So according to the discussion the directory junction is confusing the Node.js and causing issues with the plugins.
I guess it's better to remove the vortex
manifest from scoop-games until this issue is addressed upstream. While launching manually works, it kind of defeats the purpose of using Scoop to install Vortex in the first place.
Yeah I'm afraid so.
Yeah I'm afraid so.
I've removed the manifest in https://github.com/Calinou/scoop-games/commit/e61857cc77b4ddbd594f99566661f18fed2be645, and pinned this issue accordingly.