Deployment not running only on CF Pages

For Workers & Pages, what is the name of the domain?

not able to host the first time

What is the error message?

07:54:58.740 Stack trace: 07:54:58.740 at file:///opt/buildhome/repo/dist/pages/support/articles.astro.mjs?time=1745288698458:14:54 07:54:58.740 at async renderToString (file:///opt/buildhome/repo/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/runtime/server/render/astro/render.js:9:26) 07:54:58.740 at async lastNext (file:///opt/buildhome/repo/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/core/render-context.js:185:25) 07:54:58.740 at async callMiddleware (file:///opt/buildhome/repo/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/core/middleware/callMiddleware.js:11:10) 07:54:58.740 at async generatePath (file:///opt/buildhome/repo/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/core/build/generate.js:316:16) 07:54:58.779 Failed: Error while executing user command. Exited with error code: 1 07:54:58.788 Failed: build command exited with code: 1 07:55:00.103 Failed: error occurred while running build command

What is the issue or error you’re encountering

The same deployment is working on localhost as well as working on vercel,but not on cf pages

What are the steps to reproduce the issue?

same code working elsewhere

Vercel
Uploading: Screenshot 2025-04-22 082052.png…

Localhost
Uploading: Screenshot 2025-04-22 082125.png…

Not on CF Pages
Uploading: Screenshot 2025-04-22 081944.png…

i changed .toSorted() to .slice().sort(), and it seems to work, idk why it works on vercel and not on cf pages