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

Failed to install the extension "Game: XXXX" from "github.com" #14668

Closed
bebekmacho69 opened this issue Sep 9, 2023 · 2 comments
Closed

Failed to install the extension "Game: XXXX" from "github.com" #14668

bebekmacho69 opened this issue Sep 9, 2023 · 2 comments

Comments

@bebekmacho69
Copy link

Failed to install the extension "Game: Fallout 4" from "github.com"

Hi.
So recently, I stumbled on a problem.
On the first launch when the error shown, the game is still visible and can be activated, but upon the next launch, the game is not visible inside "Managed Games". Opening the extension tab shows several games extension failed to load, removing the extensions & restarting Vortex provides no results.

I could not solve by myself after trying multiple thing like :

  • Delete %appdata%/Vortex/downloads/site & %appdata%/Vortex/plugins before re-launching Vortex
  • Vortex fresh install (Delete Vortex folder from %appdata% befoe installing again using latest released execute-able)
  • Doing the same thing above with Elevated (Admin) Priveleges

Below are the errors for Fallout 4
Failed to install the extension "Game: Fallout 4" from "github.com"

Error: Cannot find module 'winapi-bindings'
Require stack:
- C:\Users\My_Username\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Fallout 4 v1.0.4\index.js
- C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\vortex-run\lib\index.js
- C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js
- C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\index.html
    at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15)
    at o._resolveFilename (node:electron/js2c/renderer_init:2:3879)
    at Module._load (node:internal/modules/cjs/loader:927:27)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at o._load (node:electron/js2c/renderer_init:2:3109)
    at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9840:126)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9402:127)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (C:\Users\My_Username\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Fallout 4 v1.0.4\index.js:4:16)
    at Object.<anonymous> (C:\Users\My_Username\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Fallout 4 v1.0.4\index.js:114:3)
    at Module._compile (node:internal/modules/cjs/loader:1269:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1324:10)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at o._load (node:electron/js2c/renderer_init:2:3109)
    at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9840:126)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9402:127)
    at Proxy.require (node:internal/modules/cjs/helpers:110:18)
    at installExtensionDependencies (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2640:16)

And also there are another games which fails to load the extension too, where each of them have their own failure

Game: 7 Days to Die (Failed to load: Cannot find module 'react-dom')
Game: Baldur's Gate 3 (Failed to load: Cannot find module 'exe-version')
Game: Fallout 4 (Failed to load: Cannot find module 'winapi-bindings')
Game: Stardew Valley (Failed to load: Cannot find module 'turbowalk')

My temporary solution, is to delete %appdata%/Vortex/downloads/site & %appdata%/Vortex/plugins folder then relaunch Vortex, the game will be visible while Vortex still showing above extension load failure message.

I'm looking for a solution or maybe the dev team could take a look on this problem.
Thank you..

@bebekmacho69
Copy link
Author

bebekmacho69 commented Sep 23, 2023

Found this thread

#7579

From the thread, Vortex uses Node.js which have a problem with 'Symlink'. Previously I changed my Windows userprofile/appdata configuration to point into a symlink instead of real folder like below

C:\Users\username <--------- the symlink
C:\Users\User Name <--------- real directory path
(the username is just an example)

Changed that back to point into the original user directory and now Vortex installs all the extensions without no problem.

@KHMuell
Copy link

KHMuell commented Nov 13, 2023

Had same probs with BG 3 - i deleted this extension (because i never had BG3 installed..) - after that i ran into this error..

I found a typo in the file ...\Vortex\resources\app-update.yml in the last entry (make a copy from this file)

publisherName:

  • Black Tree Gaming Limited

i changed it to:

publisherName: - Black Tree Gaming Limited

Vortex now shows an error on start - just ignore it - after the update runs fine .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants