Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
927 stars 135 forks source link

error: The "path" argument must be one of type string, Buffer, or URL. Received type undefined #8696

Closed VortexFeedback closed 3 years ago

VortexFeedback commented 3 years ago

Application error

System

Platform win32 10.0.18363
Architecture x64
Application Version 1.3.22
Process renderer

Message

The "path" argument must be one of type string, Buffer, or URL. Received type undefined

Title

Failed to set game mode

Details

code: ERR_INVALID_ARG_TYPE

Context

gamemode = Conan Exiles

Stack

The "path" argument must be one of type string, Buffer, or URL. Received type undefined
Error
    at Object.readFileAsync (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:160:210)
    at filterResourceCfg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar.unpacked\bundledPlugins\game-sims4\index.js:127:13)
    at writeResourceCfg (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar.unpacked\bundledPlugins\game-sims4\index.js:170:10)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar.unpacked\bundledPlugins\game-sims4\index.js:200:17
    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 Promise._fulfill (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:673:18)
    at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:617:21)
    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 Promise._fulfill (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:673:18)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\nodeback.js:42:21
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\fs-extra\lib\mkdirs\mkdirs.js:56:16

Reported from:
Error
    at Object.showError (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:348:18)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4445:74
    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: maldonadoaelx

IDCs commented 3 years ago

Hi maldonadoaelx, due to the location from where the error is being reported (the filePath had passed verification less than a second before Vortex tried to read the directory contents); I'm afraid that the only potential culprit/s in this situation is memory corruption or storage device corruption.

If you're able to reproduce this consistently (that would suggest a storage device corruption rather than memory), it would be interesting to see your vortex.log files (located inside "%appdata%/vortex") please attach them here.

Regardless this appears to be user environment/hardware related - nothing we can do to help, sorry.