No build logs found for deployment
Hello, i've trying to build a program for hours now but it takes like 5-10-20 mins to deploy and when it does, it just says failed
57 Replies
Project ID:
c2a419a0-3800-4ec5-a7fd-e229dd460a4d
c2a419a0-3800-4ec5-a7fd-e229dd460a4d
what kind of app is this?
api
most informative answer ever 💀
nah like, what's the stack, do you have a dockerfile?
im from spain and my english is terrible and im just starting learning so thats why 💀
Oh no problem
Are you using NodeJS, Go, Python .. ?
javascript
do you have a
pom
file in your app?oh
that's javascript java
yeah
do you have a
package.json
?yea
oh holy
i am spanish too
And no dockerfile right?
puedo traducir ;)
holaa
this is it fragly
package.json right?
you have no dockerfile right?
can you send a link to the repo
you're deploying?
un link al repo de github porfaa
its a private repo
dont think so
ok so there is a package.json
huh...
yeah this one
could you by any chance invite me to your repo?
i wanna see what behavior it has
(it's ok if you don't wanna, i understand)
sure
whats your name on github
LaCrak27
nvm
yap
te envie soli
Pretty sure Nixpacks relies on package-lock.json to build your app
perfe
oh yeah true
that ain't in there
did you install dependencies?
y’all are welcome to communicate in spanish here if that’s what you’re both comfortable with btw
you can bring the lockfile back by running
just give a tldr in english once the issue is solved
ok, good to know
on your machine, then push
🫶
I would kick this off with trying to use brody’s api to pull the build logs, sometimes it can pull when the ui can’t
ok
basicamente
lo que dice fragly es lo que es
I don't think they have build logs
necesitas un package-lock.json
es un archivo que dice cuales son las dependencias y eso
para volver a construir el archivo
https://bookmarklets.up.railway.app/log-downloader/
ui might be failing
true!
clonas el repo, ejecutas
npm i --package-lock-only
^ give this a shot
i've getting this issue for hours now
y pusheas
si quieres te hago una pr con el fix
puedes hacerlo?
porfa
tengo que irme
sip
te dejo la PR hecha
sin problema
solo dame 5 mins
dame dame!
dameyo!
that song is spanish?
nvm it's japanese
💀
can confirm, after the fix, railway builds it
waiting for deployment
there ya go, deployed @SpushFNBR
just merge the PR i made
also TL;DR, just make sure you have a valid
package-lock.json
, if you don't, you can make one with npm i --package-lock-only
muchas gracias!! ❤️
se cambio el url?
@LaCrak27
no no
yo no he tocado nada en railway
lo que tienes que hacer
es
desde github
ahh
vale vale
aprobar my PR
a main
cuando la apruebes ya hara el deploy solo
he usado otra rama
gracias