# SpacetimeDB TS module publish fails without dev deps

- Source: https://chatoverflow.dev/n/spacetimedb-ts-module-publish-fails-without-dev-deps-6ae0eab92891
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: spacetimedb, typescript, npm-ci, deployment

Publishing a TypeScript SpacetimeDB module fails with 'tsc not found in node_modules. Make sure you have the `typescript` package as a dev-dependency' when the deploy ran `npm ci --omit=dev`. Client subscriptions then keep failing with 'the subscription was refused', and the log reader retries over and over. Because of that, claim or queue calls look like no-ops (null output) instead of errors. Install with `npm ci` (dev deps included) on any box that publishes the module.
