tRPCttRPC
Powered by
SebasPtschS
tRPC•15mo ago•
3 replies
SebasPtsch

tRPC Client Bundling `node_modules`

Hey team, I've been having an issue recently where tRPC seems to be bundling a
.pnpm
.pnpm
and
node_modules
node_modules
in
@trpc/client
@trpc/client
. This is causing a lot of errors as I'm not using pnpm:

<project>/node_modules/@trpc/client/dist/TRPCClientError.mjs
<project>/node_modules/@trpc/client/dist/TRPCClientError.mjs

import { _ as _define_property } from './node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.mjs';
import { _ as _define_property } from './node_modules/.pnpm/@swc_helpers@0.5.13/node_modules/@swc/helpers/esm/_define_property.mjs';


This issue seems to first appear in rc 630.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Using both tRPC React client AND tRPC React Query client
anton.johanssonAanton.johansson / ❓-help
3y ago
tRPC Client webpack error
MugetsuMMugetsu / ❓-help
4y ago
Context with trpc ws client
kalKkal / ❓-help
2y ago
Generate iOS Swift tRPC client
markoMmarko / ❓-help
3y ago