0.5.6七牛出错?

提示了这样一个错误信息:
ERROR: Not a buffer TypeError: Not a buffer
at new Hmac (crypto.js:257:17)
at Object.Hmac (crypto.js:255:12)
at Object.exports.hmacSha1 (/var/www/ghost/node_modules/qiniu/qiniu/util.js:25:21)
at PutPolicy.token (/var/www/ghost/node_modules/qiniu/qiniu/rs.js:158:22)
at QiniuStore.save (/var/www/ghost/core/server/storage/qiniu.js:33:29)
at /var/www/ghost/core/server/api/upload.js:51:26
at tryCatch1 (/var/www/ghost/node_modules/bluebird/js/main/util.js:45:21)
at Promise$_callHandler [as _callHandler] (/var/www/ghost/node_modules/bluebird/js/main/promise.js:660:13)
at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/var/www/ghost/node_modules/bluebird/js/main/promise.js:675:18)
at Promise$_settlePromiseAt [as _settlePromiseAt] (/var/www/ghost/node_modules/bluebird/js/main/promise.js:845:14)
VPS,Debian 7.5 x64
已邀请:

friskit

赞同来自:

...一直debug到了core,才发现config.js中关于七牛的注释没有去掉。。。。。。。

话说七牛的异常提示很奇葩啊。。。。。。

王赛

赞同来自:

小错误,大麻烦

要回复问题请先登录注册