infi-pc / locatorjs

https://www.locatorjs.com
1.43k stars 68 forks source link

bug: Path Error in VS Code when using Locator.js #128

Closed sushantkadam15 closed 12 months ago

sushantkadam15 commented 1 year ago

Where the bug happens

your browser

Chrome

Describe the bug

Locator.js was working fine previously but has now stopped functioning. Path: vscode://file/${projectPath}${filePath}:${line}:${column}

Here are the steps I've taken to resolve the issue:

After some investigation, I found the following error in the VS Code Window Log: 2023-11-03 09:13:07.831 [error] [uncaught exception in main]: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//"): Error: [UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")

I've been searching for a solution but haven't been able to find one. Any assistance would be greatly appreciated.

devhiteshk commented 1 year ago

Chrome has stopped support for auto-play feature

https://support.google.com/chrome/thread/207847413/chrome-doesn-t-respect-autoplay-policy-flag-anymore?hl=en

need for alternative way to open the vscode file

127 Same raised here

flex-haegul commented 1 year ago

I have same issue.

sheetalsindhu commented 1 year ago

I'm having same issue, asking for associated app but not navigating.

antopolskiy commented 1 year ago

This works as a fix: https://github.com/infi-pc/locatorjs/issues/127#issuecomment-1801180366

infi-pc commented 12 months ago

fixed in https://github.com/infi-pc/locatorjs/pull/129, thanks @sushantkadam15 for PR and @antopolskiy for debugging