Closed qgc007 closed 1 year ago
nodejs更新成最新版本后的报错,上面的版本是12
error: 400:
OTSUnsupportOperation(Unsupported operation: 'Empty endpoint'.
at Request.extractError (H:\work_file\nodejs-pj\node_modules\tablestore\lib\client.js:92:44)
at Request.callListeners (H:\work_file\nodejs-pj\node_modules\tablestore\lib\sequential_executor.js:113:20)
at Request.emit (H:\work_file\nodejs-pj\node_modules\tablestore\lib\sequential_executor.js:81:10)
at Request.emit (H:\work_file\nodejs-pj\node_modules\tablestore\lib\request.js:189:14)
at Request.transition (H:\work_file\nodejs-pj\node_modules\tablestore\lib\request.js:57:10)
at AcceptorStateMachine.runTo (H:\work_file\nodejs-pj\node_modules\tablestore\lib\request.js:24:12)
at H:\work_file\nodejs-pj\node_modules\tablestore\lib\request.js:36:10
at Request.
已解决,原因是多元索引的使用 不支持日本东京
我在仿照 https://help.aliyun.com/document_detail/100613.html?spm=a2c4g.11186623.6.1015.74103645q4lQ7l 写代码时,报出错误,但是我的代码应该没有问题,请问这个是bug吗? 以下是错误信息
我的代码:
错误信息: H:\work_file\nodejs-pj\node_modules\tablestore\lib\request.js:66 throw err; ^
TypeError: name.endsWith is not a function at formatError (internal/util/inspect.js:914:13) at formatRaw (internal/util/inspect.js:703:14) at formatValue (internal/util/inspect.js:591:10) at inspect (internal/util/inspect.js:221:10) at formatWithOptions (internal/util/inspect.js:1693:40) at Object.Console. (internal/console/constructor.js:272:10)
at Object.log (internal/console/constructor.js:282:61)
at Response. (H:\work_file\nodejs-pj\search.js:22:17)
at Request. (H:\work_file\nodejs-pj\node_modules\tablestore\lib\request.js:162:18)
at Request.callListeners (H:\work_file\nodejs-pj\node_modules\tablestore\lib\sequential_executor.js:113:20)