-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: profile
command not working on Windows on WSL
#5414
Comments
Hey @djordje-st! Thanks for reporting this bug. I have a couple of ideas where this could be coming from, so I've added some instrumentation to make help me determine the root cause. Could you please test the snapshot by installing your package globally and sharing the verbose logs again? That will help me determine a fix and hopefully get it patched for you sooner / determine a workaround :) pnpm i -g @shopify/[email protected] Tip If you get an Caution After installing, validate the version by running just |
@jamesmengo here's the requested output :) Output
|
OK so it seems like we're getting all the way to trying to open a file from a URL on your file system. Unfortunately, I can't replicate this on my end so I think our best path forward is to gather some more information:
https://marketplace.visualstudio.com/items?itemName=Shopify.theme-check-vscode |
I did some digging, and it looks like the URL that the CLI is trying to open gives a 404: The URL looks incorrect, because it's looking for a directory in Windows. The URL should be: When I change it to the above, I get redirected to the URL below which is also a 404: The above is missing the Linux distro name before the user folder ( When I add the distro like described above, and correct the Hope that helps, let me know if you need anything else from my side. |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
A generated report should open in a new browser window (like it does on MacOS).
Actual behavior
Nothing happens after the command completes
Verbose output
Verbose output
Reproduction steps
shopify theme profile
on any store using Windows and WSL2Operating System
Windows 11
Shopify CLI version (
shopify --version
)3.75.3
Shell
bash
Node version (run
node -v
if you're not sure)v20.18.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: