作者 | 弗拉德
来源 | 弗拉德(公众号:fulade_me)

artipub

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

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
(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”状态就可以了。

公众号