-
Notifications
You must be signed in to change notification settings - Fork 130
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]: All Shopify cli commands yield no result at all on macOS 13 Ventura #697
Comments
Was able to replicate this on another MacBook with macOS 12. So my initial opinion on this being related to Ventura doesn't seem to have any grounds. |
Hi @ananthu-kurup, thanks for opening an issue! I was waiting to respond until upgrading, now I upgraded and it still works fine, and I see you also reproduced on macos 12. So yes, not related. I'm really not sure what would be causing this, but I have 2 suggestions for diagnosis:
|
Hey @amcaplan, thank you for the response. This is a weird issue indeed. I have tried the following so far:
Also tried going through any signs on console.app. Nothing there either. All 3 MacBooks I tried this on are setup in the same manner, so if this is indeed a colour support issue related to the way the shell is setup, it would affect all of them. Just to add to context, theme check server crashes when I load VS Code. Though I am not sure how much of that is related to this. |
Hmmmm, this is a stumper. I wonder if it has something to do with node generally, since printing is generally happening via console.log. Just as a broad sanity check, what happens if you run:
|
Running the node command results in expected result of printing hello on the console. I also have other projects that I work on built on node and there are no issues with those projects at all. |
I'm having the same issue. I made sure to uninstall all previous and running I'm on macos 12.5.1 node v14.15.0 |
This is really baffling. 2 more ideas:
|
Also, another sanity check, just to make sure |
And actually if you can print I wonder if there's something left over from CLI2 that's breaking things. |
The following are the outputs of all the above commands.
|
OK, so I've played around with different node versions, and it seems that something about node 14.15, recent macos, and Shopify CLI isn't playing well together. When I run locally on 14.15.5, I get this error:
I'm not sure why I see the error and it just stays blank for you... but I suspect it might be related. Can you try upgrading node and seeing what happens? It seems to work for me on 14.21. |
For more information, node 14.x < 14.17 doesn't support apple silicon. |
verified it works after switching to node v16.x and re-ran the installation. Also during the re-installation you can see that shopify cli was upgraded 3.21.0 -> 3.22.1 See video Screen.Recording.2022-11-09.at.21.51.53.movalso see the issue appearing when switching between versions Screen.Recording.2022-11-09.at.21.56.00.movMaybe the shopify docs should indicate a section about compatibility with apple silicon macs and node |
I'm glad this solved it for you! It's the first time we've come across this, but we'll be sure to make a fix to prevent this happening in the future! |
This should not be closed. Same issues on WSL2 ubuntu with Node 19. |
Hi @MLDMoritz, thanks for bringing this up! I don't recommend commenting on closed issues, as the weekly on-call will not get notified. Instead, please open a new issue as the details and diagnosis may be different. |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
Following through the Shopify documentation for CLI installation for macOS, the final step for verification should yield the version number of Shopify-cli as the result.
The installation verification is to be done using the below command
shopify version
Actual behavior
Running the command does not yield any output. Any Shopify command results in nothing being printed on console or anything action being performed. I have replicated the same on two separate MacBooks, both have been setup from scratch post macOS 13 Ventura installation after formatting the drives.
Stack trace
No response
Reproduction steps
Operating System
Mac OS Ventura
Shopify CLI version (check your project's
package.json
if you're not sure)3.21.0
Shell
zsh
Node version (run
node -v
if you're not sure)v14.15.5
What language and version are you using in your application?
3.1.2
The text was updated successfully, but these errors were encountered: