Deploying Reflex App using Caddyfile & Nixpack

Following this reflex template --> https://github.com/brody192/reflex-template Getting the following errors during build process:
next build && next-sitemap && next export -o _static

#16 7.508 Debug:

#16 7.515 Debug: sh: 1: next: not found

#16 7.532 Creating Production Build failed with exit code 127

#16 7.533

#16 7.534 > export-sitemap

#16 7.534 > next build && next-sitemap && next export -o _static

#16 7.535

#16 7.536 sh: 1: next: not found
next build && next-sitemap && next export -o _static

#16 7.508 Debug:

#16 7.515 Debug: sh: 1: next: not found

#16 7.532 Creating Production Build failed with exit code 127

#16 7.533

#16 7.534 > export-sitemap

#16 7.534 > next build && next-sitemap && next export -o _static

#16 7.535

#16 7.536 sh: 1: next: not found
Thx!
GitHub
GitHub - brody192/reflex-template: Web apps in pure Python, Built i...
Web apps in pure Python, Built in a few minutes! Contribute to brody192/reflex-template development by creating an account on GitHub.
Solution:
hey @BTC_Ninja - just did a fresh deploy of the template without any changes and i didn’t run into any issues https://reflex-production-fcf2.up.railway.app/
Jump to solution
11 Replies
Percy
Percy13mo ago
Project ID: 5ddb26a4-1460-40a7-90c4-fea437acb87b
BTC_Ninja
BTC_NinjaOP13mo ago
5ddb26a4-1460-40a7-90c4-fea437acb87b
Brody
Brody13mo ago
do you get that error from deploying the unedited template?
BTC_Ninja
BTC_NinjaOP13mo ago
Yes
Brody
Brody13mo ago
okay I will look into this as soon as I have time
BTC_Ninja
BTC_NinjaOP13mo ago
Thank you
Solution
Brody
Brody13mo ago
hey @BTC_Ninja - just did a fresh deploy of the template without any changes and i didn’t run into any issues https://reflex-production-fcf2.up.railway.app/
Brody
Brody13mo ago
can you tell me more about anything youve changed?
BTC_Ninja
BTC_NinjaOP13mo ago
Nothing drastically different from your setup. Here is my repo to reference. My rx.config is slightly different but I've also tried using your format. https://github.com/Gongo1/agio_scraper/tree/main
GitHub
GitHub - Gongo1/agio_scraper
Contribute to Gongo1/agio_scraper development by creating an account on GitHub.
Brody
Brody13mo ago
I'm really sorry but I won't be able to provide support for a web scraper, crawling and scraping is listed in railways tos and is not something I'd want to get involved with
BTC_Ninja
BTC_NinjaOP13mo ago
Fair enough... Thank you
Want results from more Discord servers?
Add your server