Can't Deploy Service
ERROR: process "/bin/bash -ol pipefail -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1
Solution:Jump to solution
the invalid ELF error happens when the binary of the package doesn't fit the operating system it's running on
Usually when you install packages they install the correct type for the operating system but if you're committing
node_modules
along with your code then it won't have a chance to download the correct version
so make sure you're not committing node_modules
and delete it if you have been so it's removed from Github...19 Replies
Project ID:
b81fc524-4ecb-482d-9fca-0df60d63e12e
b81fc524-4ecb-482d-9fca-0df60d63e12e
Hello Team ! anyone can help me a bit ?
Mind sending your build logs?
https://bookmarklets.up.railway.app/log-downloader/
I have issued when deploy the service in railway
what's this sir ?
It's a bookmarklet that'll help you download your build logs so I can see them
I don't know how to use it
alternatively, just do
ctrl+k
or cmd+k
and then click Download Build Logs
(while having your deployment open)after click
ctrl + k
damn, that's weird
Solved, Thank you :derp:
oh dope, what was the issue?
error because of yarn.lock
after rm it the service is working fine
but have new issue
Solution
the invalid ELF error happens when the binary of the package doesn't fit the operating system it's running on
Usually when you install packages they install the correct type for the operating system but if you're committing
node_modules
along with your code then it won't have a chance to download the correct version
so make sure you're not committing node_modules
and delete it if you have been so it's removed from Githubsorry for taking so long to respond, i was making some food
it's okay sir, i knew it πΉ anyway thank you ππ»