解决:picgo+gitee中出现StatusCodeError: 404 - {“message”:“Branch”}
用picgo+gitee作为typora的图床时候,出现下面的错误
------Error Stack Begin------
StatusCodeError: 404 - {"message":"Branch"}
at new StatusCodeError (D:\Program Files\picgo\resources\app.asar\node_modules\request-promise-core\lib\errors.js:32:15)
at Request.plumbing.callback (D:\Program Files\picgo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:104:33)
at Request.RP$callback [as _callback] (D:\Program Files\picgo\resources\app.asar\node_modules\request-promise-core\lib\plumbing.js:46:31)
at Request.self.callback (D:\Program Files\picgo\resources\app.asar\node_modules\request\request.js:185:22)
at Request.emit (events.js:200:13)
at Request.<anonymous> (D:\Program Files\picgo\resources\app.asar\node_modules\request\request.js:1161:10)
at Request.emit (events.js:200:13)
at IncomingMessage.<anonymous> (D:\Program Files\picgo\resources\app.asar\node_modules\request\request.js:1083:12)
at Object.onceWrapper (events.js:288:20)
at IncomingMessage.emit (events.js:205:15)
原因:在创建的仓库的时候,没有初始化readme
解决:初始化就可以解决这个问题。