Gelofy

Errors Logs

Jul 26th, 2023
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | Software | 0 0
  1. [20:21:40.425] Running build in Washington, D.C., USA (East) – iad1 (Hive)
  2. [20:21:40.470] Cloning github.com/Gelofy/The-Network (Branch: main, Commit: 1a7dac8)
  3. [20:21:40.724] Cloning completed: 253.579ms
  4. [20:21:46.847] Restored build cache
  5. [20:21:46.875] Running "vercel build"
  6. [20:21:47.409] Vercel CLI 31.0.4
  7. [20:21:47.668] Installing dependencies...
  8. [20:21:54.050]
  9. [20:21:54.050] added 33 packages, and changed 9 packages in 6s
  10. [20:21:54.050]
  11. [20:21:54.051] 140 packages are looking for funding
  12. [20:21:54.051] run `npm fund` for details
  13. [20:21:54.068] Detected Next.js version: 13.4.12
  14. [20:21:54.072] Detected `package-lock.json` generated by npm 7+...
  15. [20:21:54.072] Running "npm run build"
  16. [20:21:54.349]
  17. [20:21:54.349] > [email protected] build
  18. [20:21:54.349] > next build
  19. [20:21:54.349]
  20. [20:21:54.895] - info Creating an optimized production build...
  21. [20:22:13.151] - info Compiled successfully
  22. [20:22:13.152] - info Linting and checking validity of types...
  23. [20:22:17.012] Failed to compile.
  24. [20:22:17.012]
  25. [20:22:17.013] ./src/app/login/page.tsx:22:11
  26. [20:22:17.013] Type error: Property 'showNav' does not exist on type 'null'.
  27. [20:22:17.013]
  28. [20:22:17.013]   20 | 
  29. [20:22:17.013]   21 | export default function LoginPage() {
  30. [20:22:17.013] > 22 |  const { showNav, setShowNav } = useContext(showNavbar);
  31. [20:22:17.013]   |  ^
  32. [20:22:17.013]   23 |  setShowNav(false);
  33. [20:22:17.013]   24 | 
  34. [20:22:17.013]   25 |  return (
  35. [20:22:17.105] Error: Command "npm run build" exited with 1
Tags: logs
Advertisement
Add Comment
Please, Sign In to add comment