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?]: VS Code TS PnP integration appears to be broken #3788

Closed
1 task
rcketscientist opened this issue Nov 23, 2021 · 1 comment
Closed
1 task

[Bug?]: VS Code TS PnP integration appears to be broken #3788

rcketscientist opened this issue Nov 23, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@rcketscientist
Copy link

Self-service

  • I'd be willing to implement a fix

Describe the bug

After following the direction for setting up a project with VS Code typescript and pnp the IDE cannot find modules, for example:

Cannot find module 'react' or its corresponding type declarations.

To reproduce

https://github.com/rcketscientist/vs-code-pnp-test

Same behavior with a project from scratch:

  1. yarn init
  2. yarn add -D typescript @yarnpkg/sdks
  3. yard add react
  4. yarn tsc init
  5. yarn sdks vscode

Environment

System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 16.13.0 - C:\Users\ANTHON~1.MAN\AppData\Local\Temp\xfs-33e4d110\node.CMD
    Yarn: 3.1.0 - C:\Users\ANTHON~1.MAN\AppData\Local\Temp\xfs-33e4d110\yarn.CMD  
    npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD

Additional context

VS Code:

Version: 1.62.3 (user setup)
Commit: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
Date: 2021-11-17T08:11:14.551Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043

@rcketscientist rcketscientist added the bug Something isn't working label Nov 23, 2021
@merceyz
Copy link
Member

merceyz commented Nov 23, 2021

Duplicate of #3722

@merceyz merceyz marked this as a duplicate of #3722 Nov 23, 2021
@merceyz merceyz closed this as completed Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants