I downloaded expo go to test try my first every app with replit but got few pages of errors
Did I miss anything in the setup tab or not sure where I went wrong
I can only upload one images here is the text from the other errors
Log 1 of 2
Render Error
useAuth must be used within AuthProvider
Sources
>
141
142
143
export function useAuth () {
const ctx = useContext (AuthContext);
if (!ctx) throw new Error("useAuth must
144
145
146
return ctx;
}
AuthContext.tsx (143:28)
>
19
20
21
import { useColors } from "@/hooks/useColor
export default function HomeScreen () {
22
23
24 |
const colors = useColors ();
const
router = useRouter();
const { user } = useAuth() ;
index.tsx (21:16)
Component Stack
(tabs)/index.tsx:21
Route.js:30
useScreens.js:189
Dismiss
Minimize
Log 2 of 2
Uncaught Error
_bindings.KeyboardControllerNative.getConstants is not a function (it is undefined)
Source
11
import React, { useEffect } from “react”;
12
import { GestureHandlerRootView } from "rea
> 13 |
import { KeyboardProvider } from "react-nat
14
15
import { SafeAreaProvider } from "react-nat
16 | import { ErrorBoundary } from "@/components
_layout.tsx (13:1)
Call Stack
_layout.tsx:13
See 34 more frames
TypeError:
T.KeyboardControllerNative.getConstants is not a function (it is undefined)
anonymous
bundle. js: 1676:1238
bundle.js: 2:2054
d
bundle.js: 2:1540
i bundle.js: 2:582
anonymous bundle.js:1675:1403
bundle.js: 2:2054
d
bundle. js: 2:1540
i
bundle.js: 2:582
anonymous bundle.js: 1659:1511
bundle.js:2:2054
d bundle.js:2:1540
i bundle.js:2:582
anonymous bundle.js: 1181:528
bundle.js: 2:2054
d
Dismiss
Reload JS
Copy
Extra Info
