I have installed your mod but lost my original offline characters. if i load d2r from main folder i see the original characters. why is this and am i loading the un-moded version by loading from the main folder.
EDIT: Apparently it worked despite the error message. At least it shows in my active installed extensions. Not sure if it's still something that is important to know so I'll just leave it here.
I'm getting the exact same error with 0.1.1
Error: Cannot find module 'fs/promises'Require stack: - C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\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 (internal/modules/cjs/loader.js:972:15) at Function.o._resolveFilename (electron/js2c/renderer_init.js:35:917) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12633) at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3381:139) at Module.require (internal/modules/cjs/loader.js:1032:19) at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3514:161) at require (internal/modules/cjs/helpers.js:72:18) at Object.fs/promises (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23200:18) at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30) at Object../src/util.ts (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23006:36) at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30) at Object../src/installers.ts (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22767:16) at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30) at Object../src/index.ts (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22556:22) at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
Looking at the error message - you're still using version 0.1.0; Delete "C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\" and manage the extension through Vortex's games page. You should get version 0.1.2 which completely nullifies this issue (among others).
When I try to install this, I get this error: Error: Cannot find module 'fs/promises'Require stack: - C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\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 (internal/modules/cjs/loader.js:972:15) at Function.o._resolveFilename (electron/js2c/renderer_init.js:35:917) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12633) at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3381:139) at Module.require (internal/modules/cjs/loader.js:1032:19) at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3514:161) at require (internal/modules/cjs/helpers.js:72:18) at Object.fs/promises (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23200:18) at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30) at Object../src/util.ts (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23006:36) at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30) at Object../src/installers.ts (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22767:16) at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30) at Object../src/index.ts (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22556:22) at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
Thanks for letting me know - the extension is built with a newer version of Node than Vortex and there was a minor issue with how the fs/promises module was being imported (Vortex couldn't resolve it)
This should be fixed in version 0.1.1 of the extension (I've modified it slightly so that Vortex can run it)
Extension update should be available in the next couple of minutes.
10 comments
Fixed the extraction of mpq folders, which are not archives and added some support for loose mods, which will be merged into the merged Mod,
I have installed your mod but lost my original offline characters. if i load d2r from main folder i see the original characters. why is this and am i loading the un-moded version by loading from the main folder.
I'm getting the exact same error with 0.1.1
Error: Cannot find module 'fs/promises'Require stack:
- C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\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 (internal/modules/cjs/loader.js:972:15)
at Function.o._resolveFilename (electron/js2c/renderer_init.js:35:917)
at Module._load (internal/modules/cjs/loader.js:848:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3381:139)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3514:161)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.fs/promises (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23200:18)
at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
at Object../src/util.ts (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23006:36)
at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
at Object../src/installers.ts (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22767:16)
at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
at Object../src/index.ts (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22556:22)
at __webpack_require__ (C:\Users\*****\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
Error: Cannot find module 'fs/promises'Require stack:
- C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\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 (internal/modules/cjs/loader.js:972:15)
at Function.o._resolveFilename (electron/js2c/renderer_init.js:35:917)
at Module._load (internal/modules/cjs/loader.js:848:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3381:139)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:3514:161)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.fs/promises (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23200:18)
at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
at Object../src/util.ts (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:23006:36)
at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
at Object../src/installers.ts (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22767:16)
at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
at Object../src/index.ts (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:22556:22)
at __webpack_require__ (C:\Users\no_on\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Diablo II Resurrected Game Support v0.1.0\index.js:21:30)
This should be fixed in version 0.1.1 of the extension (I've modified it slightly so that Vortex can run it)
Extension update should be available in the next couple of minutes.