GGT_BACKEND_PROCESS_CRASH: Cannot find module '/gadget/app/.gadget/server/dist/index.js'

This started happening a few minutes ago in one of my development environments (staging). I've tried restarting the app and yarn installing fresh. Not sur what's going on. It happened as I was deploying to prod so I was very concerned that prod would be broken too but prod seems to be working. GGT_BACKEND_PROCESS_CRASH: Cannot find module '/gadget/app/.gadget/server/dist/index.js' Require stack: - /app/packages/app-sandbox/src/services/AppBridge.js - /app/packages/app-sandbox/src/boot/gadget-app-config.js - /app/packages/@starscream/core/plugins/app-boot.js - /app/packages/@starscream/core/boot.js - /app/packages/@starscream/core/server.js - /app/packages/app-sandbox-versions/app-sandbox-fv-4/src/server.js Trace ID: 43acd9f252f1d269359860498c9c36fb
No description
5 Replies
kalenjordan
kalenjordanOP6mo ago
Looks like staging is working agian now
[Gadget] Kyle
[Gadget] Kyle6mo ago
apologies, that was a clumsy rollout of some behind the scenes stuff we are working on to make your app both cjs and esm compatible unfortunately some infra was on the new thing and some infra was on the other thing for a few minutes
kalenjordan
kalenjordanOP6mo ago
gotcha thanks for the heads up that's interesting I was actually working on some esm bridge stuff the other day for my cli I'm building and feeling like there had to be a better way
[Gadget] Kyle
[Gadget] Kyle6mo ago
cjs/esm shenanigans breaks my brain and is makes me sad all the time
kalenjordan
kalenjordanOP6mo ago
maximum shenaniganry

Did you find this page helpful?