Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [20:21:40.425] Running build in Washington, D.C., USA (East) – iad1 (Hive)
- [20:21:40.470] Cloning github.com/Gelofy/The-Network (Branch: main, Commit: 1a7dac8)
- [20:21:40.724] Cloning completed: 253.579ms
- [20:21:46.847] Restored build cache
- [20:21:46.875] Running "vercel build"
- [20:21:47.409] Vercel CLI 31.0.4
- [20:21:47.668] Installing dependencies...
- [20:21:54.050]
- [20:21:54.050] added 33 packages, and changed 9 packages in 6s
- [20:21:54.050]
- [20:21:54.051] 140 packages are looking for funding
- [20:21:54.051] run `npm fund` for details
- [20:21:54.068] Detected Next.js version: 13.4.12
- [20:21:54.072] Detected `package-lock.json` generated by npm 7+...
- [20:21:54.072] Running "npm run build"
- [20:21:54.349]
- [20:21:54.349] > [email protected] build
- [20:21:54.349] > next build
- [20:21:54.349]
- [20:21:54.895] - info Creating an optimized production build...
- [20:22:13.151] - info Compiled successfully
- [20:22:13.152] - info Linting and checking validity of types...
- [20:22:17.012] Failed to compile.
- [20:22:17.012]
- [20:22:17.013] ./src/app/login/page.tsx:22:11
- [20:22:17.013] Type error: Property 'showNav' does not exist on type 'null'.
- [20:22:17.013]
- [20:22:17.013] [0m [90m 20 | [39m[0m
- [20:22:17.013] [0m [90m 21 | [39m[36mexport[39m [36mdefault[39m [36mfunction[39m [33mLoginPage[39m() {[0m
- [20:22:17.013] [0m[31m[1m>[22m[39m[90m 22 | [39m [36mconst[39m { showNav[33m,[39m setShowNav } [33m=[39m useContext(showNavbar)[33m;[39m[0m
- [20:22:17.013] [0m [90m | [39m [31m[1m^[22m[39m[0m
- [20:22:17.013] [0m [90m 23 | [39m setShowNav([36mfalse[39m)[33m;[39m[0m
- [20:22:17.013] [0m [90m 24 | [39m[0m
- [20:22:17.013] [0m [90m 25 | [39m [36mreturn[39m ([0m
- [20:22:17.105] Error: Command "npm run build" exited with 1
Advertisement
Add Comment
Please, Sign In to add comment