PhilDL / remix-gospel-stack

Remix monorepo template with pnpm, TypeScript and Turborepo. The remix app deploys to fly.io or build to Docker image. Example packages for Database with Prisma, UI, and internal TypeScript packages.
https://remix-gospel-stack.fly.dev
MIT License
209 stars 13 forks source link

App freezes after rebuilding #103

Closed tylerwithpin closed 8 months ago

tylerwithpin commented 10 months ago

Thanks for making this stack! It's been very helpful when trying to replicate something similar for our repo.

I was running the remix-gospel-stack locally with the pnpm run dev --filter=@remix-gospel-stack/remix-app command, and I noticed that after hot rebuilding the app no longer seemed to work. My initial and subsequent requests to localhost:3000 worked fine, but once I made a change to any of the relevant files and remix rebuilt, further requests to localhost:3000 would never finish loading. Have you seen this on your end? I don't know if it matters, but I did update the @remix-run/dev dependency to ^2.2.0 instead of the previous ^2.0.0.

PhilDL commented 10 months ago

Hi, I tried it on a brand new pnpm create remix@latest --init-script --install --template https://github.com/PhilDL/remix-gospel-stack and I didn't have that problem.

All remix packages in version "^2.3.1" on my end.

This is my setup:

▶ npx envinfo --system --binaries

  System:
    OS: macOS 14.1.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 98.83 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    pnpm: 8.12.0 - ~/Library/pnpm/pnpm

Could you run npx envinfo --system --binaries so we know a little bit more ? Also Do you have to CTRL-C to get out ?