Open
Description
I am trying to use this package with an electron app. In development, everything works fine. Once the package is built, I get this error:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:124:11)
at Object.basename (path.js:1241:5)
at Args.module.exports [as parse] (/tmp/.mount_MorphwR9fp7L/resources/app.asar/node_modules/args/lib/parse.js:38:22)
at Object.<anonymous> (/tmp/.mount_MorphwR9fp7L/resources/app.asar/conf/index.js:66:8)
at Module._compile (internal/modules/cjs/loader.js:1083:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1113:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Module._load (internal/modules/cjs/loader.js:781:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:964:19) {
code: 'ERR_INVALID_ARG_TYPE'
}
Line 66 is this
args.parse(process.argv)
And this is what process.argv
is
[ '/tmp/.mount_MorphwD1YseX/morphware-wallet']
Is there a way to fix this?
Metadata
Metadata
Assignees
Labels
No labels