/root/fiora/packages/i18n/node.index.ts:15
return languages[locale][key] || enUS[key] || key;
^
TypeError: Cannot read property 'getUserIdDescription' of undefined
at Object.i18n [as default] (/root/fiora/packages/i18n/node.index.ts:15:29)
at Object. (/root/fiora/index.ts:14:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Module.m._compile (/root/fiora/node_modules/ts-node/src/index.ts:1225:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Object.require.extensions. [as .ts] (/root/fiora/node_modules/ts-node/src/index.ts:1228:12)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at main (/root/fiora/node_modules/ts-node/src/bin.ts:330:12)
系统为ubuntu18.04,只有几个命令能用,fiora、fiora doctor命令也是这样。
root@instance-20220701-2238:~/fiora#
fiora getUserId 用户名/root/fiora/packages/i18n/node.index.ts:15 return languages[locale][key] || enUS[key] || key; ^ TypeError: Cannot read property 'getUserIdDescription' of undefined at Object.i18n [as default] (/root/fiora/packages/i18n/node.index.ts:15:29) at Object. (/root/fiora/index.ts:14:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Module.m._compile (/root/fiora/node_modules/ts-node/src/index.ts:1225:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Object.require.extensions. [as .ts] (/root/fiora/node_modules/ts-node/src/index.ts:1228:12)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at main
(/root/fiora/node_modules/ts-node/src/bin.ts:330:12)