You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to v2.15.3, I ran Shopify Theme Serve and received this error: /usr/local/bin/shopify:2:in `<main>': undefined method `to_json' for {"PATH"=>"/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin", [...omitted...], "_"=>"/usr/local/bin/shopify"}:Hash (NoMethodError)
The line ENV['ORIGINAL_ENV']=ENV.to_h.to_json seems to be what's causing the issue. This line is not present in v2.15.2, which works correctly.
I am using an Apple M1 Pro-based MacBook. I am noting this in case the issue is specific to the architecture. I've not tested it on Intel.
The text was updated successfully, but these errors were encountered:
homebrew-shopify/shopify-cli.rb
Line 101 in 1c3cb29
After upgrading to v2.15.3, I ran
Shopify Theme Serve
and received this error:/usr/local/bin/shopify:2:in `<main>': undefined method `to_json' for {"PATH"=>"/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin", [...omitted...], "_"=>"/usr/local/bin/shopify"}:Hash (NoMethodError)
The line
ENV['ORIGINAL_ENV']=ENV.to_h.to_json
seems to be what's causing the issue. This line is not present in v2.15.2, which works correctly.I am using an Apple M1 Pro-based MacBook. I am noting this in case the issue is specific to the architecture. I've not tested it on Intel.
The text was updated successfully, but these errors were encountered: