question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Go-to Definition fails in VSCode 1.61

See original GitHub issue

Self-service

  • I’d be willing to implement a fix

Describe the bug

After updating vscode to 1.61.0, the go-to definition gets error.

Unable to open 'fs.d.ts': Unable to read file '/^zip:/home/yxl/yarn-zipfs-bug/.yarn/cache/@types-node-npm-16.10.3-ae1d2f8739-3fd429bce8.zip/node_modules/@types/node/fs.d.ts' (Error: Unable to resolve nonexistent file '/^zip:/home/yxl/yarn-zipfs-bug/.yarn/cache/@types-node-npm-16.10.3-ae1d2f8739-3fd429bce8.zip/node_modules/@types/node/fs.d.ts').

To reproduce

I create a repo for this: yarn-zipfs-bug

Environment

System:
  OS: Linux 5.14 Arch Linux
  CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Binaries:
  Node: 14.17.4 - /tmp/xfs-62e53485/node
  Yarn: 3.1.0-rc.8 - /tmp/xfs-62e53485/yarn
  npm: 7.24.2 - /usr/bin/npm

Additional context

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

14reactions
merceyzcommented, Oct 14, 2021

The fix has been released, you can run the following to update the SDK

yarn dlx @yarnpkg/sdks
1reaction
bradennapiercommented, Mar 23, 2022

It doesnt seem to work - every time i run it, it says it updated to the vscode version but clearly it doesnt because running again yields same resul tand zipfs doesn twork?

Read more comments on GitHub >

github_iconTop Results From Across the Web

November 2022 (version 1.74) - Visual Studio Code
Learn what is new in the Visual Studio Code November 2022 Release (1.74)
Read more >
Navigate to Ruby function definition in VS Code - Stack Overflow
intellisense": "rubyLocate" in settings works for me, I'm using vs code 1.61.2. remember: restart vs code. – dayudodo. Oct 22, 2021 at 1:24....
Read more >
Visual Studio Code 1.74.0 Download for Mac / Change Log ...
Go to Definition from return - Jump to the top of JavaScript/TypeScript functions ... Terminal error when starting VS Code from zip on...
Read more >
Fix: VS Code Go to Definition Not Working - YouTube
Visual Studio Code ( VS Code ) is a very popular code editor among the developers of the world. This is due to...
Read more >
Visual Studio Code Insiders 1.75.0.20221216 - Chocolatey
Version Downloads Last Updated Visual Studio Code Insiders 1.75.0.20221216 58 Friday, December 16, 2022 Visual Studio Code Insiders 1.75.0.20221215 52 Thursday, December 15, 2022 Visual Studio...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found