Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
No EOL
847 B
Text
14 lines
No EOL
847 B
Text
export function throwEmptyGenerateStaticParamsError() {
|
|
const error = Object.defineProperty(new Error('When using Cache Components, all `generateStaticParams` functions must return at least one result. ' + 'This is to ensure that we can perform build-time validation that there is no other dynamic accesses that would cause a runtime error.\n\n' + 'Learn more: https://nextjs.org/docs/messages/empty-generate-static-params'), "__NEXT_ERROR_CODE", {
|
|
value: "E898",
|
|
enumerable: false,
|
|
configurable: true
|
|
});
|
|
error.name = 'EmptyGenerateStaticParamsError';
|
|
// This error is meant to interrupt the server start/build process
|
|
// but the stack trace isn't meaningful, as it points to internal code.
|
|
error.stack = undefined;
|
|
throw error;
|
|
}
|
|
|
|
//# sourceMappingURL=empty-generate-static-params-error.js.map |