-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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]: Pnpify does not resolve tsconfig's paths in VSCode #3117
Comments
|
@merceyz where is it not supported exactly, in |
Hi! 👋 This issue looks stale, and doesn't feature the Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolutions). It helps us help you! 😃 If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the |
Up, the issue is reproducible (a repo has been linked in the issue). |
@merceyz Just tried with
|
Not if you already used the PR
I just started a release build so in about 10 minutes you can use the latest canary version
https://github.com/yarnpkg/berry/actions/runs/1186470907
I cloned your repo and tested with yarn dlx @yarnpkg/sdks vscode |
@merceyz I confirm that it works now, thanks, this one will unblock all the Nx users!! |
@merceyz when do you plan to release this bugfix? |
Self-service
Describe the bug
yarn dlx @yarnpkg/pnpify --sdk vscode
and changing the workspace version to4.2.4-pnpify
Expected
VSCode is able to resolve the typings of external dependencies (e.g. rxjs) and local dependencies (e.g. Nx library, using the
tsconfig.json
'spaths
configuration).Actual
Cannot find module '@issue-yarn-pnp-vscode-nx/foo' or its corresponding type declarations.ts(2307)
(see screenshot)Notes
yarn nx build bar --with-deps
works and typescript is able to resolve the dependenciesTo reproduce
Here is a very simple repo that reproduces the issue https://github.com/micaelmbagira/issue-yarn-pnp-vscode-nx
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: