react-qiniu icon indicating copy to clipboard operation
react-qiniu copied to clipboard

按照example中的步骤执行时出错

Open totothink opened this issue 8 years ago • 2 comments

按照example中的步骤生成script.js后,在浏览器中打开index.html并上传文件提示:

image

totothink avatar Feb 06 '17 08:02 totothink

生成script.js之后,浏览器打开index.html,console里立刻报错: Uncaught TypeError: Promise.config is not a function at Object.340.bluebird (index.js:4) at s (_prelude.js:1) at _prelude.js:1 at Object.27.bluebird (index.js:6) at s (_prelude.js:1) at _prelude.js:1 at Object.343.../index (app.js:1) at s (_prelude.js:1) at e (_prelude.js:1) at _prelude.js:1

yc850k avatar Feb 26 '17 05:02 yc850k

解决了 升级 "superagent-bluebird-promise": "^4.1.0"

yc850k avatar Feb 26 '17 10:02 yc850k