Cookies
Cookies
Explore posts from servers
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
hmm i'll continue to research thi, thanks
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
thats just for server side rendering though right?
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
or maybe i interpreted that incorrectly
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
Bun is a direct replacement for Node though
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
I knew there would be issues. Even Railway's documents say they support BUN 1.0 just its new
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
oh no it didnt work on vercel without issues. I still had to override the build commands
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
I run my django and next.js apps on here. Didn't realize railway was not suited for this type of thing since i've had nearly no issues with it till trying to learn bun and try out astro
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
I did not try bun --bun astro preview
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
ahhh
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
bunx create-astro created all my source files
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
Vercel 🙂
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
i do and it works perfectly on my machine and on another well known platoform i have it deployed
43 replies
RRailway
Created by CoolCheetah on 9/10/2023 in #✋|help
Django Railway admin console
if you are running the server locally and you cannot get to it from localhost:8000/admin then you must of deleted the path in your urls.py
5 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
thank you for trying
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
new error :
$ astro build

/bin/bash: line 1: astro: command not found

error: script "astro" exited with code 127
$ astro build

/bin/bash: line 1: astro: command not found

error: script "astro" exited with code 127
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
ok build command = bun install
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
its failing to build with docker
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
I got a different error but still failed just failed with bun --bun astro build failed
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
I got it working on another service by overriding the build command so I'm assuming i need to make a custom nixpack with the commands
43 replies
RRailway
Created by Cookies on 9/10/2023 in #✋|help
BUN 1.0 + Astro
{
"name": "@example/minimal",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"devDependencies": {
"@astrojs/sitemap": "^1.0.0",
"@astrojs/tailwind": "^1.0.0",
"astro": "^1.0.0",
"astro-robots-txt": "^0.3.8"
}
}
{
"name": "@example/minimal",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"devDependencies": {
"@astrojs/sitemap": "^1.0.0",
"@astrojs/tailwind": "^1.0.0",
"astro": "^1.0.0",
"astro-robots-txt": "^0.3.8"
}
}
43 replies