Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
913 stars 134 forks source link

error: EINVAL: invalid argument, mkdir 'H:' #12230

Closed VortexFeedback closed 2 years ago

VortexFeedback commented 2 years ago

Application error

System

Platform win32 10.0.19043
Architecture x64
Application Version 1.5.13
Process renderer

Message

EINVAL: invalid argument, mkdir 'H:'

Title

Download failed

Details

errno: -4071
code: EINVAL
syscall: mkdir
path: H:
context.Downloading "Vortex Extension Update - Subnautica Support v2.1.4.7z": nxm://site/mods/202/files/1583

Context

Downloading "Vortex Extension Update - Subnautica Support v2.1.4.7z" = nxm://site/mods/202/files/1583

Stack

EINVAL: invalid argument, mkdir 'H:'
Error
    at Object.ensureDirAsync (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:8712:16)
    at DownloadManager.enqueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1635:12)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1734:184
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

Reported from:
Error
    at showError (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:8940:202)
    at Proxy.mApi.showErrorNotification (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7993:123)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:6117:83
    at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:725:18)
    at _drainQueueStep (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
    at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)

Reported by: foxy1564560594163

IDCs commented 2 years ago

Extensions should be installed through the extensions page in the %appdata%/vortex/plugins folder. I'm not sure what you were trying to do here - I'm assuming you decided to bypass the warnings and dialogs telling you NOT to set your downloads folder to the root of a directory and went ahead and did just that.

You have 2 options - either completely remove Vortex from your machine - including the %appdata%/Vortex folder and re-install so that you can get a "fresh" installation of Vortex with default settings; or:

You can use Vortex's CLI to change the staging folder for your game; close Vortex and open up a command prompt or a powershell terminal (in powershell make sure to add ./ in front of each command so that it runs the application) in the directory where Vortex.exe is located (by default this is inside C:\Program Files\Black Tree Gaming Ltd\Vortex) - this is a case sensitive operation so make sure you type EXACTLY as following: Vortex.exe --set settings.downloads.path=""C:\\Downloads""

Start Vortex and it should use C:\\Downloads (or whatever you want to set it to) as the downloads folder.