R
Railway8mo ago
acronie

Failed to extract code archive

No description
108 Replies
Percy
Percy8mo ago
Project ID: 06e4ecc3-6fcc-4222-9ab4-57bd805ed75f
acronie
acronie8mo ago
06e4ecc3-6fcc-4222-9ab4-57bd805ed75f No support?
Brody
Brody8mo ago
this is community support, please be patient where do you see these logs, in the build or deployment logs
acronie
acronie8mo ago
Build.
Brody
Brody8mo ago
what
acronie
acronie8mo ago
Ah second
acronie
acronie8mo ago
I am mobile rn give me a while to get you the file but, this is all it shows
No description
Brody
Brody8mo ago
the bookmarklet only works on desktop browsers
acronie
acronie8mo ago
ye ig Give me a while to get on my pc then ill share the full log file
Brody
Brody8mo ago
no worries
acronie
acronie8mo ago
yea thats all what it gives In the build logs
Brody
Brody8mo ago
are you uploading code with railway up?
acronie
acronie8mo ago
Nope
acronie
acronie8mo ago
If that just redeploys the service i tried from the button
Brody
Brody8mo ago
this is different, it redoploys it from the source
acronie
acronie8mo ago
Okiee
acronie
acronie8mo ago
still same
No description
Brody
Brody8mo ago
what kind of app are you trying to deploy and could you share the repo?
acronie
acronie8mo ago
Its a private repo Btw this started happening just now before that it was working fine
Brody
Brody8mo ago
^
acronie
acronie8mo ago
nextjs A monorepo but I have the root set as the nextjs dir.
acronie
acronie8mo ago
No description
Duchess
Duchess8mo ago
Thread has been flagged to Railway team by @Brody.
acronie
acronie8mo ago
Any update yet?
Brody
Brody8mo ago
the team will come to this thread when they have the time to tackle this
JustJake
JustJake8mo ago
The project ID you gave doesn't exist This looks like an issue with your app but please link the project
acronie
acronie8mo ago
Ohk a second 2d9d995c-09bb-4a71-a40f-f079b6d925ac
JustJake
JustJake8mo ago
Uhh, can you try and deploy again? I've literally never seen this in my life
acronie
acronie8mo ago
I tried multiple times linking unlinking the repo too Its failing to extract the zip ig?
JustJake
JustJake8mo ago
How are you deploying Looks like via GH
acronie
acronie8mo ago
Yea
JustJake
JustJake8mo ago
What did you change between the successful and failed deploy?
acronie
acronie8mo ago
No description
acronie
acronie8mo ago
Just added new components ig nothing much? I dont see anything unusual No unusual activity in ram either + the other project from same repo fails as well with same error
JustJake
JustJake8mo ago
I'll have to log it for triage for tomorrow
acronie
acronie8mo ago
👍 Please ping me if I can help w something
Linear
Linear8mo ago
Issue PRO-1368 created.
PRO-1368 - Fail to extract code archive
Use has issues deploying from GitHub with above error
Status
Triage
Product
acronie
acronie8mo ago
Any updates?
Brody
Brody8mo ago
its now the weekend, and the team doesnt work on the weekends
acronie
acronie8mo ago
Any updates 😄
Brody
Brody8mo ago
it's Monday morning, please wait until the team can get through the queue but I don't know why I didn't think of it sooner, can you try to deploy your code in a new service in a new project?
JustJake
JustJake8mo ago
Does it have no content? Rather, does the root URL have content in it/is accurate?
acronie
acronie8mo ago
It does. I already tried it's the same Is there any update?
Brody
Brody8mo ago
I'm with cooper when he said that this looks like an issue with your app, no one has reported anything remotely similar, so it's likely something about your code can you share your repo? provide a minimal reproducible example? something to help either me or the team
acronie
acronie8mo ago
I get that it can be w my app or something but how will I be able to reproduce when its happening on railway only? How do you guys clone the repo or whatever? Maybe we can start from there
JustJake
JustJake8mo ago
With git clone. You’ll need to create a repo publically with config we can reproduce
acronie
acronie8mo ago
Do you want me to add you the do the repo?
Brody
Brody8mo ago
please create a public repo that when built on railway will produce the same error
acronie
acronie8mo ago
😭😭😭I wish i know what caused that error
Felinto
Felinto8mo ago
Did you update or add any npm package ?
acronie
acronie8mo ago
I mean I ddi but does that has to do w anything?
Felinto
Felinto8mo ago
are you using "yarn.lock" or "package-lock.json" ? Maybe the problem is when you compile a npm package
acronie
acronie8mo ago
pnpm uses package-lcok iirc But that should be in the build stage right
Felinto
Felinto8mo ago
I will check your build logs, a moment..
acronie
acronie8mo ago
i think the problem rn its not that But sure you can check those and lmk whatever uou find sus
Felinto
Felinto8mo ago
Could you provide the full build log ?
acronie
acronie8mo ago
I can give you access to the github repo, if you can give me your email its provided above lemme
Felinto
Felinto8mo ago
is this the full build log ?
acronie
acronie8mo ago
yep. thats all it has Nothing more
Felinto
Felinto8mo ago
Really ? oh gosh a moment...
acronie
acronie8mo ago
Yea if it was anything extra I could have digged in some more infonor knew how to debug
Felinto
Felinto8mo ago
What do you see here ? Could you sent me the print ? a moment... sorry
acronie
acronie8mo ago
lemme see I am on phone.
Felinto
Felinto8mo ago
No description
Felinto
Felinto8mo ago
What do you see here ? I want to know what builder railway is using..
acronie
acronie8mo ago
No description
acronie
acronie8mo ago
This right?
Felinto
Felinto8mo ago
yes
acronie
acronie8mo ago
its been like this since the beginning i suppose I mean added scripts but nothing else
Felinto
Felinto8mo ago
could you check if "pnpm-lock.yaml" was changed between commits ?
acronie
acronie8mo ago
i can second yea it was
acronie
acronie8mo ago
but nothing more than addition of lodash
No description
Felinto
Felinto8mo ago
maybe this is the problem 🙂 let me check
acronie
acronie8mo ago
Lodash? :0
Felinto
Felinto8mo ago
What node version are you using in your pc ? "node -v" The packages was changed between commits. This is a good hint.
acronie
acronie8mo ago
should be 20+ one second ill confirm 20.8.0 to be exact
Felinto
Felinto8mo ago
we found a POSSIBLE solution... 🙂
Felinto
Felinto8mo ago
Node | Nixpacks
App source + Nix packages + Docker = Image
Felinto
Felinto8mo ago
No description
Felinto
Felinto8mo ago
18 is the default a moment..
acronie
acronie8mo ago
yea I am aware about that I will try removing lodash and try deploying again
Felinto
Felinto8mo ago
"engines" : { "node" : ">=20.0.0" }
acronie
acronie8mo ago
I will try rmeoving lodash But what if it doesnt work :0
Felinto
Felinto8mo ago
you don't need to remove just undo package-json and pnpm-lock.yaml
acronie
acronie8mo ago
i mean node version too. will try both.
Felinto
Felinto8mo ago
change node version first
acronie
acronie8mo ago
oh you mean commit
Felinto
Felinto8mo ago
are you using it ? .
acronie
acronie8mo ago
Nope
Felinto
Felinto8mo ago
or something similar ?
acronie
acronie8mo ago
its default, should be 18 on railway
Felinto
Felinto8mo ago
do you understand that if railway compile your code in node v18 and your computer compiles in node v20, you will get different results ? so... you should first check the node version
acronie
acronie8mo ago
yea i am aware about that :p
Felinto
Felinto8mo ago
it is not necessary touch in package* or anywhere
acronie
acronie8mo ago
Will try
Felinto
Felinto8mo ago
I think we found the issue we need investigate futher
acronie
acronie8mo ago
But why do I feel like this has something to do with permissions over github
Felinto
Felinto8mo ago
there is a very easy way to check that...... railway cli a moment...
Felinto
Felinto8mo ago
If you want to check if the issue is github-related, use railway up
acronie
acronie8mo ago
I’ll trust try* @Felinto btw The same issue persist on the other folder too which hasn't had any changes since I am on a monorepo just trying changing the nodde version Ohk that worked amazingly And the other folder too? wowie
Felinto
Felinto8mo ago
Is it worked? Everything OK, now?
acronie
acronie8mo ago
yea it did Yep Thankss 👍🥰