Skip to content

500 Error while deploying on vercel #47

@kevin25

Description

@kevin25

I got error like this on my server

"GET //wp-json/rae/v1/header-footer?header_location_id=hcms-menu-header&footer_location_id=hcms-menu-footer HTTP/1.1" 500 62 "-" "axios/0.21.4"

On vercel

Uploading Screen Shot 2024-05-24 at 10.51.27.png…

Error: Collecting page data for [object Object] is still timing out after 2 attempts. See more info here https://nextjs.org/docs/messages/page-data-collection-timeout at onRestart (/vercel/path0/node_modules/next/dist/build/index.js:582:35) at Worker.isPageStatic (/vercel/path0/node_modules/next/dist/lib/worker.js:48:40) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:79:20) at async /vercel/path0/node_modules/next/dist/build/index.js:685:52 at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:79:20) at async Promise.all (index 4) at async /vercel/path0/node_modules/next/dist/build/index.js:641:17 at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:79:20) at async /vercel/path0/node_modules/next/dist/build/index.js:606:170 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Error: Command "yarn run build" exited with 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions