为了账号安全,请及时绑定邮箱和手机立即绑定

artipub点击"更新cookie状态"无任何反应

作者 | 弗拉德
来源 | 弗拉德

artipub

[ArtiPub]github.com/crawlab-team/artipub (Article Publisher 的简称,意为 “文章发布者”) 是一款开源的一文多发平台,可以帮助文章作者将编写好的文章自动发布到掘金、SegmentFault、CSDN、知乎、开源中国等技术媒体平台。

点击"更新cookie状态"按钮之后错误如下:

(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 954)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 956)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 958)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 960)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 962)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 964)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 966)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 968)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 970)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 972)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 974)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 976)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 978)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 980)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 982)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 984)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 986)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 988)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 990)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 992)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 994)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 996)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 998)
(node:72715) UnhandledPromiseRejectionWarning: Error: Request failed with status code 503
    at createError (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/Joker/Desktop/artipub/artipub/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:228:7)
    at endReadableNT (_stream_readable.js:1185:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
(node:72715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1000)

运行环境:

  • macOS 10.15.5
  • 已安装mogodb并已启动
  • 已启动npm run start:frontend
  • 登录助手已安装正确

原因

这是因为执行npm run start:backend命令时没有添加sudo权限的问题。
使用sudo npm run start:backend启动,然后再点击"更新cookies"状态就可以了。

点击查看更多内容
TA 点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
移动开发工程师
手记
粉丝
3
获赞与收藏
14

关注作者,订阅最新文章

阅读免费教程

  • 推荐
  • 1
  • 收藏
  • 共同学习,写下你的评论
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消