spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
574 stars 102 forks source link

VScode integration - broken link #624

Closed imClement closed 1 year ago

imClement commented 2 years ago

Describe the bug I have on the .env file RAY_LOCAL_PATH=/home/username/Projects/MyProject/

But when I click on the file in Ray the link to the file use an extra 'html' folder so the file is not found.

~/Projects/MyProject/html/app/Models/User.php

Versions Ray version (you can see this in "About Ray"): 1.19.0

Desktop (please complete the following information):

AdrianMrn commented 2 years ago

@freekmurze Any idea where this rogue html in the filepath could be coming from? It's not being added in the app.

billriess commented 2 years ago

I'm having a similar issue using WSL2. Links in Ray application are defaulting to /var/www/html/... but I have RAY_LOCAL_PATH='\\wsl$\Ubuntu\home\bill\dev\hub' defined in my .env.

OS: Windows 11 Pro + WSL2 Ubuntu 20.04 Ray: 2.0.1.0

RhysLees commented 2 years ago

Also having this with WSL2 like @billriess same OS & Ray version

RhysLees commented 2 years ago

Describe the bug I have on the .env file RAY_LOCAL_PATH=/home/username/Projects/MyProject/

But when I click on the file in Ray the link to the file use an extra 'html' folder so the file is not found.

~/Projects/MyProject/html/app/Models/User.php

Versions Ray version (you can see this in "About Ray"): 1.19.0

  • spatie/ray package version: 1.33.0
  • spatie/laravel-ray package version (if applicable): 1.29.0

Desktop (please complete the following information):

  • OS: [e.g. macOS] Ubuntu
  • Version [e.g. 22] 20.04

Have you found a solution yet? I'm still having this issue

spatie-bot commented 1 year ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.

eldair commented 1 year ago

Hi, this issue is still present (for me it is double app dir: '\app\app...')