You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node full-site start needs tsx, a devDependency #13
Node full-site projects start with tsx src/server.ts (src/emit.ts), and tsx is a devDependency. A platform that installs with NODE_ENV=production (Railway/Nixpacks among them) drops devDependencies, and npm start dies. The smoke installs devDependencies, so it never sees this.
Either compile server.ts at build time and start with node, or move tsx to dependencies; then make the smoke prune devDependencies (npm prune --omit=dev) before npm start.
Fixed in #15 (create-trokky 0.1.8): Node full-site builds compile the server (astro build && tsc) and start with node dist/src/server.js. Correction to the report: the old tsx start was not actually failing on production installs, because tsx reaches production through astro → vite; the compiled start removes the reliance on that.
Activity
fix: Node full-site projects compile their server and start with node (…
amenophis1er commentedon Nov 15, 2026
Fixed in #15 (create-trokky 0.1.8): Node full-site builds compile the server (
astro build && tsc) and start withnode dist/src/server.js. Correction to the report: the oldtsxstart was not actually failing on production installs, because tsx reaches production through astro → vite; the compiled start removes the reliance on that.