Berry: Unable to open type definitions on any platform.

Created on 3 Sep 2020  路  5Comments  路  Source: yarnpkg/berry

  • [ ] I'd be willing to implement a fix

Describe the bug

No matter Windows or Linux, I'm getting Errors when trying to access "Go To Definition" in TypeScript files. Specifically
Unable to open 'index.d.ts': Unable to read file 'vscode-remote://wsl+ubuntu/zip:/home/.../.yarn/cache/.../index.d.ts' (Error: Unable to resolve non-existing file 'vscode-remote://wsl+ubuntu/zip:/home/.../.yarn/cache/.../index.d.ts').

I've tried updating all yarn dependencies but nothing works.

Screenshots

Screenshot_21

Environment if relevant (please complete the following information):

  • OS: Windows && WSL2
  • Node version: 14
  • Yarn version: 2.1.1
bug

All 5 comments

I've got the same on yarn 2.2.2

Did you update vscode recently? If so, then it's this upstream issue https://github.com/microsoft/vscode/issues/105014

I just downgraded to 1.47.3 on Windows and still get the same issue.
@TheGrimSilence this issue appears to duplicate https://github.com/yarnpkg/berry/issues/1758 where there's more info.
I'll watch that issue thanks @merceyz

Did you update vscode recently? If so, then it's this upstream issue https://github.com/microsoft/vscode/issues/105014

Just saw in the discord! Thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GaoxinHuang picture GaoxinHuang  路  3Comments

wojtekmaj picture wojtekmaj  路  3Comments

dzintars picture dzintars  路  3Comments

thealjey picture thealjey  路  4Comments

bradleyayers picture bradleyayers  路  3Comments