Rule
Rule13mo ago

Build error with trpc-panel

Hi. I'm having a trouble building my tRPC api with trpc-panel. I'm using yarn workspaces and trying to build my tRPC api but I'm running to the following error. Has anyone faced the same issue before?
>yarn trpc build
yarn run v1.22.10
$ yarn workspace @repository/trpc build
$ tsc
../node_modules/trpc-panel/lib/src/parse/parseProcedure.d.ts:3:33 - error TS2307: Cannot find module '@src/parse/parseNodeTypes' or its corresponding type declarations.

3 import { ParsedInputNode } from "@src/parse/parseNodeTypes";
~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 1 error in ../node_modules/trpc-panel/lib/src/parse/parseProcedure.d.ts:3
>yarn trpc build
yarn run v1.22.10
$ yarn workspace @repository/trpc build
$ tsc
../node_modules/trpc-panel/lib/src/parse/parseProcedure.d.ts:3:33 - error TS2307: Cannot find module '@src/parse/parseNodeTypes' or its corresponding type declarations.

3 import { ParsedInputNode } from "@src/parse/parseNodeTypes";
~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 1 error in ../node_modules/trpc-panel/lib/src/parse/parseProcedure.d.ts:3
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?