Open solarisfire opened 1 week ago
Based on the provided logs, it seems you're encountering this issue while trying to deploy via Cloudflare Workers
using the gh-pages
branch.
The error occurs because there's no wrangler.toml
configuration file, causing it to default to running npm run build
. This is where the problem lies.
While I haven't personally deployed ReactFlux using Cloudflare Workers
, so I can't provide specific guidance there, I would suggest that Cloudflare Pages
might be a better solution for static websites or SPAs. Here's why:
Simpler Deployment Process
Direct GitHub repository integration
Automatic build and deployment without additional configuration
No Worker code required
More Out-of-the-Box Features
Automatic HTTPS
Optimized caching
Built-in build system
Automatic preview deployments
Custom domain support
Cost Benefits
More generous free tier
Doesn't consume Workers quota
Better suited for static content delivery
Performance Benefits
Optimized for static content
Global CDN distribution
Automatic edge caching
You might want to consider Workers
only if you have specific requirements such as:
Recommendation: Deploy ReactFlux directly using Cloudflare Pages
for a significantly streamlined deployment process.
Describe the Bug
Build log:
Steps to Reproduce
Deploy on Cloudflare workers
Expected Behavior
Successful deployment
Screenshots / Videos
No response
ReactFlux Version
488c9ed
Miniflux Version
2.2.2 - 051bdec
Browser
N/A
Operating System
N/A
Device
N/A
Console Errors
No response
Additional Context
No response