8 Replies

I deployed to cloudflare workers using the official payloadcms template and just replaced the Next.js app with mine.
The issue I am struggling with currently is that I am not seeing any styling.
I am only seeing plain text and images.
As far as I can see, I haven't made any change in the code of my Next.js app and I was able to deploy it on vercel and it was running perfectly fine.
The issue is only when deploying it on cloudflare workers
Oh it's not hyperdrive related. Seems like a build issue
yeah
Thankfully, I just fixed it now.
GET https://kasvi.shopengenie.com/in/admin - Exception Thrown @ 10/16/2025, 5:17:53 PM
(log) [CountryCodePage] Looking for page: {
originalHost: 'kasvi.shopengenie.com',
tenantDomain: 'kasvi.shopengenie.com',
slug: 'admin',
countryCode: 'in'
}
(log) [queryPageBySlug] Querying with: { tenantDomain: 'kasvi.shopengenie.com', slug: 'admin', draft: false }
✘ [ERROR] Error: The Workers runtime canceled this request because it detected that your Worker's code had hung and would never generate a response. Refer to: https://developers.cloudflare.com/workers/observability/errors/
✘ [ERROR] Error: The Workers runtime canceled this request because it detected that your Worker's code had hung and would never generate a response. Refer to: https://developers.cloudflare.com/workers/observability/errors/
GET https://kasvi.shopengenie.com/in/admin - Ok @ 10/16/2025, 5:17:52 PM
(log) [CountryCodePage] Looking for page: {
originalHost: 'kasvi.shopengenie.com',
tenantDomain: 'kasvi.shopengenie.com',
slug: 'admin',
countryCode: 'in'
}
(log) [queryPageBySlug] Querying with: { tenantDomain: 'kasvi.shopengenie.com', slug: 'admin', draft: false }
(log) [queryPageBySlug] Tenant lookup: {
tenantFound: 'YES',
tenantId: 2,
tenantName: 'kasvi',
tenantDomain: 'kasvi.shopengenie.com'
}
(log) [queryPageBySlug] All pages with slug "admin": { totalDocs: 0, pages: [] }
(log) [queryPageBySlug] Querying with: { tenantDomain: 'kasvi.shopengenie.com', slug: 'admin', draft: false }
(log) [queryPageBySlug] Tenant lookup: {
tenantFound: 'YES',
tenantId: 2,
tenantName: 'kasvi',
tenantDomain: 'kasvi.shopengenie.com'
}
(log) [queryPageBySlug] All pages with slug "admin": { totalDocs: 0, pages: [] }
(log) [queryPageBySlug] Results: { totalDocs: 0, foundPage: 'NO' }
(log) [queryPageBySlug] Results: { totalDocs: 0, foundPage: 'NO' }
(log) [CountryCodePage] Page found: NO
Thanks, I'll take credit for this. Please rate 5 stars in yelp
Sure
How can I do that??
Lol, no need it's a joke
Can you help me with this, this is hyperdrive related issue??
I was getting it but just to be thankful😅