Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Array.prototype.toReversed() works at runtime but not build - Cloudflare Developers
CD
Cloudflare Developers
•
17mo ago
•
2 replies
heftymouse
Array.prototype.toReversed() works at runtime but not build
I have an Astro project that uses
toReversed()
toReversed()
on a json import
, this works fine on SSR pages but fails saying that the function is not defined during build on an SSG page
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Are environment variables available at build or only runtime?
CD
Cloudflare Developers / pages-help
2y ago
Vite build works locally, but fails on cloudflare
CD
Cloudflare Developers / pages-help
2y ago
SvelteKit minimal template doesn't build at Cloudflare but works fine on my machine
CD
Cloudflare Developers / pages-help
14mo ago
Bindings not available at build time
CD
Cloudflare Developers / pages-help
3y ago