Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonsiefke/nextjs-error-bug
https://github.com/simonsiefke/nextjs-error-bug
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonsiefke/nextjs-error-bug
- Owner: SimonSiefke
- Created: 2023-08-14T07:20:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-14T07:46:34.000Z (over 1 year ago)
- Last Synced: 2024-11-02T01:04:30.029Z (about 2 months ago)
- Language: TypeScript
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nextjs error handling bug
## Output
```
next build- info Creating an optimized production build
- info Compiled successfully
- info Linting and checking validity of types
- info Collecting page data
[= ] - info Generating static pages (1/4)TypeError: someVariable.doesNotExist is not a function
at SomeComponent (/home/simon/.cache/repos/nextjs-error-bug/.next/server/app/page.js:335:18)
at S (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6167:13)
at eb (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6282:21)
at Object.toJSON (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6086:20)
at stringify ()
at pb (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6493:9)
at mb (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6392:29)
at Timeout._onTimeout (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6217:16)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: someVariable.doesNotExist is not a function
at SomeComponent (/home/simon/.cache/repos/nextjs-error-bug/.next/server/app/page.js:335:18)
at S (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6167:13)
at eb (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6282:21)
at Object.toJSON (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6086:20)
at stringify ()
at pb (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6493:9)
at mb (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6392:29)
at Timeout._onTimeout (/home/simon/.cache/repos/nextjs-error-bug/.next/server/chunks/968.js:6217:16)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
- info Generating static pages (4/4)> Export encountered errors on following paths:
/page: /
```