-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-error.log
More file actions
48 lines (45 loc) · 3.36 KB
/
Copy pathdev-error.log
File metadata and controls
48 lines (45 loc) · 3.36 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
⨯ ./src/components/add-exercise-dialog.tsx:215:6
Parsing ecmascript source code failed
[0m [90m 213 |[39m[0m
[0m [90m 214 |[39m [36mreturn[39m ([0m
[0m[31m[1m>[22m[39m[90m 215 |[39m [33m<[39m[33mDialog[39m open[33m=[39m{isOpen} onOpenChange[33m=[39m{setIsOpen}[33m>[39m[0m
[0m [90m |[39m [31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[0m
[0m [90m 216 |[39m [33m<[39m[33mDialogTrigger[39m asChild[33m>[39m[0m
[0m [90m 217 |[39m {dialogTrigger}[0m
[0m [90m 218 |[39m [33m<[39m[33m/[39m[33mDialogTrigger[39m[33m>[39m[0m
Unexpected token `Dialog`. Expected jsx identifier
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⚠ Fast Refresh had to perform a full reload due to a runtime error.
⨯ Error: Attempted to call useUser() from the server but useUser is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.
at <unknown> (src\firebase\provider.tsx\proxy.mjs:43:23)
at AnalyticsPage (src\app\analytics\page.tsx:14:25)
41 | );
42 | export const useUser = registerClientReference(
> 43 | function() { throw new Error("Attempted to call useUser() from the server but useUser is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
| ^
44 | "[project]/src/firebase/provider.tsx <module evaluation>",
45 | "useUser",
46 | ); {
digest: '1366549368'
}
⨯ Error: Attempted to call useUser() from the server but useUser is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.
at <unknown> (src\firebase\provider.tsx\proxy.mjs:43:23)
at AnalyticsPage (src\app\analytics\page.tsx:14:25)
41 | );
42 | export const useUser = registerClientReference(
> 43 | function() { throw new Error("Attempted to call useUser() from the server but useUser is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
| ^
44 | "[project]/src/firebase/provider.tsx <module evaluation>",
45 | "useUser",
46 | ); {
digest: '1366549368'
}
(node:22196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGTERM listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:22196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit