Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: trpc Go-To Definition Links Not Working After Fresh Build #1096

Open
msmps opened this issue Jul 5, 2024 · 1 comment
Open

bug: trpc Go-To Definition Links Not Working After Fresh Build #1096

msmps opened this issue Jul 5, 2024 · 1 comment

Comments

@msmps
Copy link

msmps commented Jul 5, 2024

Provide environment information

  System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 69.47 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/Library/Caches/fnm_multishells/31580_1720183315041/bin/node
    npm: 10.2.4 - ~/Library/Caches/fnm_multishells/31580_1720183315041/bin/npm
    bun: 1.1.17 - /opt/homebrew/bin/bun

Describe the bug

Description:

I encountered an issue with the trpc Go-To Definition links not functioning properly after running a fresh build in a newly bootstrapped project. This problem seems to occur after the types are generated in the dist/ folder of the API package.

Expected Behavior:

The Go-To Definition links for trpc should work correctly, allowing navigation to type definitions.

Actual Behavior:

The Go-To Definition links for trpc do not work after running a fresh build.

Assumption:

The issue appears to be related to the type generation process in the dist/ folder of the API package.

Link to reproduction

N/A

To reproduce

  1. Bootstrap a new project (tested on the latest version).
  2. Run pnpm run build
  3. Attempt to use the Go-To Definition feature for trpc.

Additional information

If you remove the dist/ folder in the API package this resolved the issue.

@ahkhanjani
Copy link
Contributor

Same as #1124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants