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.

TypeError: path.charCodeAt is not a function in getEncodedRootLength

See original GitHub issue

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.73.0 %8fa188b2b301d36553cbc9ce1b0a146ccb93351f %x64

  • OS Version: 21H2 for home %19044.1889

Steps to Reproduce:

  1. open my work,some ts file
  2. Press ctrl and click on some variable, or just mouse over, to see information about the variable (Indefinite time, sometimes a few minutes, sometimes longer)
  3. image
  4. Prompt to crash five times, no more restarts

normal : image

crash : image
image

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
xBoyMinemccommented, Nov 10, 2022

https://user-images.githubusercontent.com/86919167/201116082-0b80a17d-0a38-462a-a248-100701f38a41.mp4 (did the video break?i cant load it)

Please teach me how to provide more information

1reaction
VSCodeTriageBotcommented, Nov 10, 2022

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: string.charCodeAt is not a function. How to encode ...
I use restful API with express & node.js and want to encode data to utf-8. I install utf8 with npm install utf8. I...
Read more >
charcodeat is not a function javascript, typeerror
The charCodeAt() method returns the Unicode of the character at the specified index in a string. The index of the first character is...
Read more >
t.charcodeat is not a function - You.com | The AI Search ...
I updated to node version 6 today and that might've broke something. I tried to get back to node 5.10 but the issue...
Read more >
Files changed (44) - Renovate Bot Package Diff
`-r, --require [path]` Require a node module before execution ... in a factory function, we will not indent the function body, to avoid...
Read more >
Error when executing function using Ethers : r/ethdev - Reddit
Every other contract function works, but I receive "Uncaught (in promise) TypeError: str.charCodeAt is not a function" error message when I ...
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