Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vortex plugins fail to load #771

Open
mbalc opened this issue Dec 28, 2022 · 7 comments
Open

Vortex plugins fail to load #771

mbalc opened this issue Dec 28, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@mbalc
Copy link

mbalc commented Dec 28, 2022

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

@Calinou Calinou added the bug Something isn't working label Dec 29, 2022
@kazum1kun
Copy link

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.

image

@kazum1kun
Copy link

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.

@Calinou
Copy link
Owner

Calinou commented Jun 11, 2023

I wonder if this line is the culprit:

"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall*\" -Force -Recurse"

@kazum1kun
Copy link

kazum1kun commented Jun 12, 2023

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 Nexus-Mods/Vortex#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.

@Calinou
Copy link
Owner

Calinou commented Jun 12, 2023

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.

@kazum1kun
Copy link

Yeah I'm afraid so.

@Calinou
Copy link
Owner

Calinou commented Jun 13, 2023

Yeah I'm afraid so.

I've removed the manifest in e61857c, and pinned this issue accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants