Node & Ruby server won't build, stack trace isn't sufficient to deduce what's wrong
reimakesgames
HOBBYOP

a year ago

I need help with this project of mine that won't deploy recently

Solved

27 Replies

reimakesgames
HOBBYOP

a year ago

a0c840b3-7e97-4dc9-bc7c-e6892018f6a5


reimakesgames
HOBBYOP

a year ago

i already tested my two build scripts and they won't work


reimakesgames
HOBBYOP

a year ago

    "scripts": {
        "build_voicelines": "node scripts/get_voicelines.js",
        "build_jekyll": "bundle exec jekyll build -s posts",
        "build_tools": "cp -r tools _site/",
        "build_media": "cp -r media _site/",
        "build_og": "node scripts/generate_og_image.js posts/_posts",
        "build_server": "tsc",
        "wipe_ruby": "for x in `gem list --no-versions`; do gem uninstall $x -a -x -I; done",
        "build": "npm run build_voicelines && npm run build_og && npm run build_jekyll && npm run build_media && npm run build_tools && npm run build_server",
        "build_unsafe": "npm run build && node scripts/wipe_image_for_deployment.js && npm run wipe_ruby",
        "start": "node js/index.js",
        "serve_dev": "npm run build_jekyll && npm run build_media && npm run build_tools && tsc && npm run start"
    },

reimakesgames
HOBBYOP

a year ago

checking my diffs to see something


reimakesgames
HOBBYOP

a year ago

actually no i'll try something first


reimakesgames
HOBBYOP

a year ago

maybe it's because of something odd?


reimakesgames
HOBBYOP

a year ago

the reason i do "build_unsafe" is i wipe the ruby dependencies


reimakesgames
HOBBYOP

a year ago

i only use ruby to build the static site (jekyll)


reimakesgames
HOBBYOP

a year ago

i don't need it packaged up for the deployment so i remove them so it won't be included in the image


reimakesgames
HOBBYOP

a year ago

(everything here is crude because i don't know how to do stuff in docker)


reimakesgames
HOBBYOP

a year ago

i'll test the last script that was ran before the build fails


reimakesgames
HOBBYOP

a year ago

actually no im running all


reimakesgames
HOBBYOP

a year ago

1350841832656867300
1350841832946532600


reimakesgames
HOBBYOP

a year ago

hmm…


reimakesgames
HOBBYOP

a year ago

i looked into diffs and there doesn't seem to be any breaking changes between a recent available deployment

1350843986096558000


reimakesgames
HOBBYOP

a year ago

seems to be caused by metal


reimakesgames
HOBBYOP

a year ago

i will check jekyll's trace


reimakesgames
HOBBYOP

a year ago

then test on non-railway metal


reimakesgames
HOBBYOP

a year ago

1350848717070274600


reimakesgames
HOBBYOP

a year ago

i'll try this


reimakesgames
HOBBYOP

a year ago

same error


reimakesgames
HOBBYOP

a year ago

1350851681604210700


reimakesgames
HOBBYOP

a year ago

same error on non metal

1350854148639297800


reimakesgames
HOBBYOP

a year ago

this is hopeless


reimakesgames
HOBBYOP

a year ago

i'm moving over to astro pretty soon


reimakesgames
HOBBYOP

a year ago

i think this thread can be closed now


a year ago

!s


Status changed to Solved brody 12 months ago


Loading...