-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathserver.log
More file actions
315 lines (286 loc) · 13.1 KB
/
Copy pathserver.log
File metadata and controls
315 lines (286 loc) · 13.1 KB
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
$ next dev --turbo
▲ Next.js 15.3.8 (Turbopack)
- Local: http://localhost:3000
- Network: http://192.168.0.2:3000
- Environments: .env
✓ Starting...
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
○ Compiling middleware ...
✓ Compiled middleware in 601ms
✓ Ready in 3s
⚠ Webpack is configured while Turbopack is not, which may cause problems.
⚠ See instructions if you need to configure Turbopack:
https://nextjs.org/docs/app/api-reference/next-config-js/turbo
○ Compiling / ...
✓ Compiled / in 36.4s
Chat DB actions loaded. Ensure getCurrentUserId() is correctly implemented for server-side usage if applicable.
[35m
[Clerk]:[0m You are running in keyless mode.
You can [35mclaim your keys[0m by visiting https://dashboard.clerk.com/apps/claim?framework=nextjs&token=u8in4njl99cq019fx15giva3ajotgj8n6grsclbj&return_url=http%3A%2F%2Flocalhost%3A3000%2F
[35m
[Clerk]:[0m You are running in keyless mode.
You can [35mclaim your keys[0m by visiting https://dashboard.clerk.com/apps/claim?framework=nextjs&token=63h2o0pwcd8onoj31hbd3bc1dky3cu7yjhphokyg&return_url=http%3A%2F%2Flocalhost%3A3000%2F
[35m
[Clerk]:[0m You are running in keyless mode.
You can [35mclaim your keys[0m by visiting https://dashboard.clerk.com/apps/claim?framework=nextjs&token=ggk1j0tedensjvwglwsepaxeo2myduop3jvqb4pd&return_url=http%3A%2F%2Flocalhost%3A3000%2F
[35m
[Clerk]:[0m You are running in keyless mode.
You can [35mclaim your keys[0m by visiting https://dashboard.clerk.com/apps/claim?framework=nextjs&token=97p1p0i41tl8qc2yr1fcynojpxg23xq0i3q5kudn&return_url=http%3A%2F%2Flocalhost%3A3000%2F
GET / 200 in 6706ms
GET / 200 in 1626ms
○ Compiling /favicon.ico ...
✓ Compiled /favicon.ico in 4.4s
POST / 200 in 3482ms
POST / 200 in 1580ms
GET /favicon.ico?favicon.1eb660de.ico 200 in 5774ms
[Error: aborted] { code: 'ECONNRESET' }
⨯ uncaughtException: [Error: aborted] { code: 'ECONNRESET' }
⨯ uncaughtException: [Error: aborted] { code: 'ECONNRESET' }
GET / 200 in 531ms
GET /favicon.ico?favicon.1eb660de.ico 200 in 315ms
POST / 200 in 605ms
GET / 200 in 1025ms
GET /favicon.ico?favicon.1eb660de.ico 200 in 271ms
GET / 200 in 964ms
POST / 200 in 1430ms
○ Compiling /manifest.webmanifest ...
POST / 200 in 1016ms
⨯ Error: Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware(). Please ensure the following:
- Your middleware file exists at ./middleware.(ts|js)
- clerkMiddleware() is used in your Next.js middleware file.
- Your middleware matcher is configured to match this route or page.
- If you are using the src directory, make sure the middleware file is inside of it.
If you've verified your configuration and are still seeing this error, there may be a runtime issue or a problem communicating with Clerk.
For more details, see https://clerk.com/err/auth-middleware
at async getClerkUserIdOnServer (lib/auth/get-current-user.ts:20:21)
at async getCurrentUserIdOnServer (lib/auth/get-current-user.ts:135:22)
at async getNotes (lib/actions/calendar.ts:17:17)
18 | return MOCK_USER_ID;
19 | }
> 20 | const { userId } = await auth();
| ^
21 | return userId;
22 | }
23 | {
digest: '67936875'
}
✓ Compiled /manifest.webmanifest in 1852ms
GET /manifest.webmanifest 200 in 1976ms
POST / 200 in 764ms
GET / 200 in 990ms
GET /manifest.webmanifest 200 in 143ms
POST / 200 in 1462ms
GET / 200 in 632ms
getSystemPrompt: Error: Error: Cannot execute select() — POSTGRES_URL is not set. Ensure POSTGRES_URL is configured in Vercel environment variables.
at Proxy.<anonymous> (lib/db/index.ts:61:16)
at getSystemPrompt (lib/actions/chat.ts:314:28)
59 | }
60 | return function (...args: any[]) {
> 61 | throw new Error(
| ^
62 | `Cannot execute ${String(prop)}() — POSTGRES_URL is not set. ` +
63 | 'Ensure POSTGRES_URL is configured in Vercel environment variables.'
64 | );
POST / 200 in 1657ms
⨯ Error: Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware(). Please ensure the following:
- Your middleware file exists at ./middleware.(ts|js)
- clerkMiddleware() is used in your Next.js middleware file.
- Your middleware matcher is configured to match this route or page.
- If you are using the src directory, make sure the middleware file is inside of it.
If you've verified your configuration and are still seeing this error, there may be a runtime issue or a problem communicating with Clerk.
For more details, see https://clerk.com/err/auth-middleware
at async getClerkUserIdOnServer (lib/auth/get-current-user.ts:20:21)
at async getCurrentUserIdOnServer (lib/auth/get-current-user.ts:135:22)
at async getSelectedModel (lib/actions/users.ts:148:17)
18 | return MOCK_USER_ID;
19 | }
> 20 | const { userId } = await auth();
| ^
21 | return userId;
22 | }
23 | {
digest: '1604531766'
}
POST / 500 in 1869ms
GET /manifest.webmanifest 200 in 1758ms
POST / 200 in 568ms
GET / 200 in 893ms
[Error: aborted] { code: 'ECONNRESET' }
⨯ uncaughtException: [Error: aborted] { code: 'ECONNRESET' }
⨯ uncaughtException: [Error: aborted] { code: 'ECONNRESET' }
POST / 200 in 1340ms
GET / 200 in 455ms
POST / 200 in 613ms
GET / 200 in 463ms
POST / 200 in 731ms
GET / 200 in 500ms
GET /manifest.webmanifest 200 in 47ms
POST / 200 in 1043ms
GET / 200 in 568ms
GET /manifest.webmanifest 200 in 42ms
POST / 200 in 1237ms
GET / 200 in 570ms
GET /manifest.webmanifest 200 in 147ms
POST / 200 in 951ms
GET / 200 in 1203ms
GET / 200 in 1276ms
POST / 200 in 1324ms
POST / 200 in 1704ms
⨯ [Error: aborted] { code: 'ECONNRESET', digest: '1052313065' }
GET / 200 in 903ms
POST / 200 in 701ms
POST / 200 in 88ms
⨯ [Error: aborted] { code: 'ECONNRESET', digest: '1052313065' }
GET / 200 in 1232ms
GET / 200 in 1151ms
GET /favicon.ico?favicon.1eb660de.ico 200 in 621ms
GET /favicon.ico?favicon.1eb660de.ico 200 in 472ms
POST / 200 in 1661ms
POST / 200 in 2138ms
GET / 200 in 563ms
⨯ [Error: aborted] { code: 'ECONNRESET', digest: '1052313065' }
GET /favicon.ico?favicon.1eb660de.ico 200 in 268ms
POST / 200 in 716ms
POST / 200 in 86ms
⨯ [Error: aborted] { code: 'ECONNRESET', digest: '1052313065' }
GET / 200 in 1005ms
GET / 200 in 1000ms
GET /manifest.webmanifest 200 in 547ms
GET /manifest.webmanifest 200 in 515ms
POST / 200 in 2237ms
POST / 200 in 2242ms
GET / 200 in 626ms
GET /manifest.webmanifest 200 in 245ms
getSystemPrompt: Error: Error: Cannot execute select() — POSTGRES_URL is not set. Ensure POSTGRES_URL is configured in Vercel environment variables.
at Proxy.<anonymous> (lib/db/index.ts:61:16)
at getSystemPrompt (lib/actions/chat.ts:314:28)
59 | }
60 | return function (...args: any[]) {
> 61 | throw new Error(
| ^
62 | `Cannot execute ${String(prop)}() — POSTGRES_URL is not set. ` +
63 | 'Ensure POSTGRES_URL is configured in Vercel environment variables.'
64 | );
POST / 200 in 1462ms
⨯ Error: Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware(). Please ensure the following:
- Your middleware file exists at ./middleware.(ts|js)
- clerkMiddleware() is used in your Next.js middleware file.
- Your middleware matcher is configured to match this route or page.
- If you are using the src directory, make sure the middleware file is inside of it.
If you've verified your configuration and are still seeing this error, there may be a runtime issue or a problem communicating with Clerk.
For more details, see https://clerk.com/err/auth-middleware
at async getClerkUserIdOnServer (lib/auth/get-current-user.ts:20:21)
at async getCurrentUserIdOnServer (lib/auth/get-current-user.ts:135:22)
at async getSelectedModel (lib/actions/users.ts:148:17)
18 | return MOCK_USER_ID;
19 | }
> 20 | const { userId } = await auth();
| ^
21 | return userId;
22 | }
23 | {
digest: '1604531766'
}
POST / 500 in 1323ms
getSystemPrompt: Error: Error: Cannot execute select() — POSTGRES_URL is not set. Ensure POSTGRES_URL is configured in Vercel environment variables.
at Proxy.<anonymous> (lib/db/index.ts:61:16)
at getSystemPrompt (lib/actions/chat.ts:314:28)
59 | }
60 | return function (...args: any[]) {
> 61 | throw new Error(
| ^
62 | `Cannot execute ${String(prop)}() — POSTGRES_URL is not set. ` +
63 | 'Ensure POSTGRES_URL is configured in Vercel environment variables.'
64 | );
POST / 200 in 2102ms
POST / 200 in 2176ms
⨯ Error: Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware(). Please ensure the following:
- Your middleware file exists at ./middleware.(ts|js)
- clerkMiddleware() is used in your Next.js middleware file.
- Your middleware matcher is configured to match this route or page.
- If you are using the src directory, make sure the middleware file is inside of it.
If you've verified your configuration and are still seeing this error, there may be a runtime issue or a problem communicating with Clerk.
For more details, see https://clerk.com/err/auth-middleware
at async getClerkUserIdOnServer (lib/auth/get-current-user.ts:20:21)
at async getCurrentUserIdOnServer (lib/auth/get-current-user.ts:135:22)
at async getSelectedModel (lib/actions/users.ts:148:17)
18 | return MOCK_USER_ID;
19 | }
> 20 | const { userId } = await auth();
| ^
21 | return userId;
22 | }
23 | {
digest: '1604531766'
}
POST / 500 in 1484ms
⨯ [Error: aborted]
○ Compiling /_error ...
✓ Compiled /_error in 2.7s
GET / 200 in 597ms
POST / 200 in 784ms
getSystemPrompt: Error: Error: Cannot execute select() — POSTGRES_URL is not set. Ensure POSTGRES_URL is configured in Vercel environment variables.
at Proxy.<anonymous> (lib/db/index.ts:61:16)
at getSystemPrompt (lib/actions/chat.ts:314:28)
59 | }
60 | return function (...args: any[]) {
> 61 | throw new Error(
| ^
62 | `Cannot execute ${String(prop)}() — POSTGRES_URL is not set. ` +
63 | 'Ensure POSTGRES_URL is configured in Vercel environment variables.'
64 | );
POST / 200 in 943ms
⨯ Error: Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware(). Please ensure the following:
- Your middleware file exists at ./middleware.(ts|js)
- clerkMiddleware() is used in your Next.js middleware file.
- Your middleware matcher is configured to match this route or page.
- If you are using the src directory, make sure the middleware file is inside of it.
If you've verified your configuration and are still seeing this error, there may be a runtime issue or a problem communicating with Clerk.
For more details, see https://clerk.com/err/auth-middleware
at async getClerkUserIdOnServer (lib/auth/get-current-user.ts:20:21)
at async getCurrentUserIdOnServer (lib/auth/get-current-user.ts:135:22)
at async getSelectedModel (lib/actions/users.ts:148:17)
18 | return MOCK_USER_ID;
19 | }
> 20 | const { userId } = await auth();
| ^
21 | return userId;
22 | }
23 | {
digest: '1604531766'
}
POST / 500 in 784ms
getSystemPrompt: Error: Error: Cannot execute select() — POSTGRES_URL is not set. Ensure POSTGRES_URL is configured in Vercel environment variables.
at Proxy.<anonymous> (lib/db/index.ts:61:16)
at getSystemPrompt (lib/actions/chat.ts:314:28)
59 | }
60 | return function (...args: any[]) {
> 61 | throw new Error(
| ^
62 | `Cannot execute ${String(prop)}() — POSTGRES_URL is not set. ` +
63 | 'Ensure POSTGRES_URL is configured in Vercel environment variables.'
64 | );
POST / 200 in 723ms
⨯ Error: Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware(). Please ensure the following:
- Your middleware file exists at ./middleware.(ts|js)
- clerkMiddleware() is used in your Next.js middleware file.
- Your middleware matcher is configured to match this route or page.
- If you are using the src directory, make sure the middleware file is inside of it.
If you've verified your configuration and are still seeing this error, there may be a runtime issue or a problem communicating with Clerk.
For more details, see https://clerk.com/err/auth-middleware
at async getClerkUserIdOnServer (lib/auth/get-current-user.ts:20:21)
at async getCurrentUserIdOnServer (lib/auth/get-current-user.ts:135:22)
at async getSelectedModel (lib/actions/users.ts:148:17)
18 | return MOCK_USER_ID;
19 | }
> 20 | const { userId } = await auth();
| ^
21 | return userId;
22 | }
23 | {
digest: '1604531766'
}
POST / 500 in 794ms