GithubHelp home page GithubHelp logo

Comments (11)

julianosirtori avatar julianosirtori commented on April 30, 2024 1

I had the same problem, the workaround was scaling the machine's memory

fly scale memory 1024

I fink this issue is related: #276

from indie-stack.

justin-hackin avatar justin-hackin commented on April 30, 2024

I tried fly launch after attempting all this and it's the same problem with that too.

from indie-stack.

justin-hackin avatar justin-hackin commented on April 30, 2024

Although the fly launch hung on the healthcheck, when I pushed the changes, the github action was able to deploy. Sadly, I wasted many hours on this. I expected more from a supported stack with a paid subscription business behind it.

from indie-stack.

justin-hackin avatar justin-hackin commented on April 30, 2024

Here's what happened in the logs when the cli launch run hangs on healthcheck:

2024-03-30T22:06:49.877 app[9080e30dae94d8] yyz [info] > start

2024-03-30T22:06:49.877 app[9080e30dae94d8] yyz [info] > remix-serve ./build/index.js

2024-03-30T22:06:50.227 app[9080e30dae94d8] yyz [info] /myapp/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js:10

2024-03-30T22:06:50.227 app[9080e30dae94d8] yyz [info] throw new Error(prefix);

2024-03-30T22:06:50.227 app[9080e30dae94d8] yyz [info] ^

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] Error: Invariant failed

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at invariant (/myapp/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js:10:15)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at Object.<anonymous> (/myapp/build/index.js:186:35)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at Module._compile (node:internal/modules/cjs/loader:1364:14)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1422:10)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at Module.load (node:internal/modules/cjs/loader:1203:32)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at Function.Module._load (node:internal/modules/cjs/loader:1019:12)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:203:29)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at ModuleJob.run (node:internal/modules/esm/module_job:195:25)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at ModuleLoader.import (node:internal/modules/esm/loader:337:24)

2024-03-30T22:06:50.228 app[9080e30dae94d8] yyz [info] at importModuleDynamicallyWrapper (node:internal/vm/module:432:15)

2024-03-30T22:06:50.984 app[9080e30dae94d8] yyz [info] INFO Main child exited normally with code: 1

2024-03-30T22:06:50.998 app[9080e30dae94d8] yyz [info] INFO Starting clean up.

2024-03-30T22:06:50.999 app[9080e30dae94d8] yyz [info] INFO Umounting /dev/vdb from /data

2024-03-30T22:06:51.000 app[9080e30dae94d8] yyz [info] [ 4.354386] reboot: Restarting system

2024-03-30T22:06:51.190 runner[9080e30dae94d8] yyz [info] machine has reached its max restart count (10)

from indie-stack.

justin-hackin avatar justin-hackin commented on April 30, 2024

So, it gets worse, although the action reported a success, the app's requests all hang indefinitely 😖 I have reproduced this in 2 different projects.

from indie-stack.

justin-hackin avatar justin-hackin commented on April 30, 2024

I started a discussion about this cursed process here: https://community.fly.io/t/have-you-ever-successfully-deployed-a-remix-js-app-using-the-indie-stack-whats-your-secret/19017

from indie-stack.

MichaelDeBoey avatar MichaelDeBoey commented on April 30, 2024

CC/ @rubys

from indie-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.