R
Railway13mo ago
acronie

Failed to extract code archive

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