Closed mshavliuk closed 1 year ago
After I run export NODE_NDEBUG=1
to disable the node assertions it started to throw another error:
internal/validators.js:120
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Object.basename (path.js:1156:5)
at KeyRingFilePlugin._load (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/lib/kr-file.js:89:21)
at KeyRingFilePlugin.findKey (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/lib/kr-file.js:69:7)
at runPlugin (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/lib/keyring.js:151:10)
at Array.<anonymous> (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/node_modules/vasync/lib/vasync.js:122:12)
at parallel (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/node_modules/vasync/lib/vasync.js:94:11)
at Object.forEachParallel (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/node_modules/vasync/lib/vasync.js:126:10)
at SDCKeyRing.find (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/lib/keyring.js:127:13)
at SDCKeyRing.findSigningKeyPair (/usr/local/lib/node_modules/triton/node_modules/smartdc-auth/lib/keyring.js:166:7) {
code: 'ERR_INVALID_ARG_TYPE'
}
@mshavliuk, thanks for the bug report.
Could you try running:
export OPENSSL_CONF=/etc/ssl
Then triton info
again?
Exporting OPENSSL_CONF
should allow you to work around that assertion until there is a permanent fix.
Hi @mshavliuk, version 7.15.3 has just been published which fixes this issue.
Awesome news, thanks a lot!
When I'm running the
triton -v -i info
command it throws an unexpected error:System
Triton CLI 7.15.1 NPM 8.5.1 Node v12.22.9 Ubuntu 22.04.1 LTS