-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_output.txt
More file actions
92 lines (80 loc) · 7.71 KB
/
build_output.txt
File metadata and controls
92 lines (80 loc) · 7.71 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
> sudomakeworld@0.1.0 build
> next build
Γû▓ Next.js 14.2.35
- Environments: .env.local
Creating an optimized production build ...
Γ£ô Compiled successfully
Linting and checking validity of types ...
./src/app/interview/page.tsx
136:61 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
./src/components/terminal/Terminal.tsx
61:8 Warning: React Hook useEffect has missing dependencies: 'initialCommands', 'onCommand', and 'session'. Either include them or remove the dependency array. If 'onCommand' changes too often, find the parent component that defines it and wrap that definition in useCallback. react-hooks/exhaustive-deps
./src/hooks/useRealtimeSimulation.ts
133:8 Warning: React Hook useCallback has a missing dependency: 'token'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
257:8 Warning: React Hook useCallback has a missing dependency: 'token'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
./src/hooks/useVoiceRecording.ts
141:8 Warning: React Hook useCallback has a missing dependency: 'stopRecording'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
./src/lib/indexeddb.ts
373:1 Warning: Assign object to a variable before exporting as module default import/no-anonymous-default-export
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
node.exe : Failed to compile.
At line:1 char:1
+ & "C:\Program Files\nodejs/node.exe"
"C:\Users\Shubh Varshney\AppData ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecifi
ed: (Failed to compile.:String) [],
RemoteException
+ FullyQualifiedErrorId : NativeComm
andError
./src/app/api/ai/chat/route.ts:125:58
Type error: No overload matches this
call.
Overload 1 of 2, '(values: never,
options?: { count?: "exact" | "planned"
| "estimated" | undefined; } |
undefined): PostgrestFilterBuilder<{
PostgrestVersion: string; }, never,
never, null, "user_token_usage", never,
"POST">', gave the following error.
Argument of type '{ user_id: string;
input_tokens: number; output_tokens:
number; model: string; }' is not
assignable to parameter of type 'never'.
Overload 2 of 2, '(values: never[],
options?: { count?: "exact" | "planned"
| "estimated" | undefined;
defaultToNull?: boolean | undefined; } |
undefined): PostgrestFilterBuilder<{
PostgrestVersion: string; }, never,
never, null, "user_token_usage", never,
"POST">', gave the following error.
Object literal may only specify
known properties, and 'user_id' does not
exist in type 'never[]'.
[0m [90m 123 |[39m [90m//
Log token usage[39m[0m
[0m [90m 124 |[39m
[36mif[39m (response[33m.[39musage
[33m&&[39m user[33m.[39mid) {[0m
[0m[31m[1m>[22m[39m[90m 125 |[39m
[36mawait[39m getSupabase()
[33m.[39m[36mfrom[39m([32m"user_toke
n_usage"[39m)[33m.[39minsert({[0m
[0m [90m |[39m
[31m[1m^[22m[39m[0m
[0m [90m 126 |[39m
user_id[33m:[39m
user[33m.[39mid[33m,[39m[0m
[0m [90m 127 |[39m
input_tokens[33m:[39m response[33m.[3
9musage[33m.[39minput_tokens
[33m||[39m [35m0[39m[33m,[39m[0m
[0m [90m 128 |[39m
output_tokens[33m:[39m response[33m.[
39musage[33m.[39moutput_tokens
[33m||[39m [35m0[39m[33m,[39m[0m
Next.js build worker exited with code: 1
and signal: null