client .listTable({}, function (err, data) {
if (err) {
console.log('error:', err);
return;
}
console.log('success:', data);
});
=======================================
error: TypeError: Cannot read property 'length' of null
at d (tablestore-js-sdk-4.0.9.min.js:1)
at y.setHMACKey (tablestore-js-sdk-4.0.9.min.js:1)
at Object.hmac (tablestore-js-sdk-4.0.9.min.js:1)
at Signer.sign (tablestore-js-sdk-4.0.9.min.js:1)
at Signer.addAuthorization (tablestore-js-sdk-4.0.9.min.js:1)
at Request.SIGN (tablestore-js-sdk-4.0.9.min.js:1)
at Request.callListeners (tablestore-js-sdk-4.0.9.min.js:1)
at Request.emit (tablestore-js-sdk-4.0.9.min.js:1)
at Request.emit (tablestore-js-sdk-4.0.9.min.js:1)
at Request.transition (tablestore-js-sdk-4.0.9.min.js:1)
client .listTable({}, function (err, data) { if (err) { console.log('error:', err); return; } console.log('success:', data); });
======================================= error: TypeError: Cannot read property 'length' of null at d (tablestore-js-sdk-4.0.9.min.js:1) at y.setHMACKey (tablestore-js-sdk-4.0.9.min.js:1) at Object.hmac (tablestore-js-sdk-4.0.9.min.js:1) at Signer.sign (tablestore-js-sdk-4.0.9.min.js:1) at Signer.addAuthorization (tablestore-js-sdk-4.0.9.min.js:1) at Request.SIGN (tablestore-js-sdk-4.0.9.min.js:1) at Request.callListeners (tablestore-js-sdk-4.0.9.min.js:1) at Request.emit (tablestore-js-sdk-4.0.9.min.js:1) at Request.emit (tablestore-js-sdk-4.0.9.min.js:1) at Request.transition (tablestore-js-sdk-4.0.9.min.js:1)