FROM CACHE - jp_header

Shopifyオンラインストア2.0 shopify CLI ,shopify theme serve , shopify theme check が正しく動いていない。。。

解決済

Shopifyオンラインストア2.0 shopify CLI ,shopify theme serve , shopify theme check が正しく動いていない。。。

mimi6520
探検家
48 0 5

すいませんどなたかご教授いただけないでしょうか?

当方、プログラマではなく殆どターミナルを使ったことがなく困っています。。。。

shopify login --store xxxxxxxxxx.myshopify.com した後に

shopify theme serve をすると下記のようなメッセージが出てきます。。。

 

This command ran with ID: 23230

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

 

一体何がダメで、”が長すぎます”って何を指しているのか・・・よくわからずです。。。
その下にfromから始まるパス見たいのなのがいっぱい出てきます。。。。

 

 

その後 shopify theme check すると

NOTE: nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri. See https://github.com/sparklemotion/nokogiri/issues/2205 for more information.

Checking . ...

213 files inspected, 0 offenses detected, 0 offenses auto-correctable

と出てきます。色々ググりましたがこんなメッセージが出てくる記事もなく・・・。。。。

see〜に書かれているページを見るとnokogumboを削除するよう書かれていますが、削除していいものかも削除方法もわからず。。

 

theme kitの時はすんなりいったのですがCLIの方は全く上手くいかずです・・・。

どなたかお分かりになる方、エラー内容と解決方法を教えていただけないでしょうか?
よろしくお願いします。

1 件の受理された解決策
junichiokamura
Community Manager
1201 280 509

成功

GitHub のPull Requestがマージされたようなので、fix.rb は不要で、CLIを最新にすれば、事象は治っているはずです。

更新方法は以下に載っています。

https://shopify.dev/apps/tools/cli/troubleshooting

 

Senior Partner Solutions Engineer

元の投稿で解決策を見る

42件の返信42

junichiokamura
Community Manager
1201 280 509

ログからShoify CLIのコードを覗いてみたのですが、(CLI自体はオープンソースなので、エラーに書かれているファイル名と行数で該当箇所を特定できます)どうやら、コマンドに対象のテーマ名称が指定されていないので、CLI内で自動生成して、それが長すぎるというエラーのように見受けられます。

僕の方で、shopify theme serveをすると正常に動くので、他の方もエラーが発生しないので回答がないのではないでしょうか?

まずは、以下のことを確認してください。

CLIが正しいバージョンか?

CLIのコマンドを正しい順番で呼んでいるか?

以下が公式の手順ですので、これに沿って再度操作をご確認お願いします。

https://shopify.dev/themes/getting-started/create

https://shopify.dev/themes/getting-started/customize

テーマを新規に作ったり、既存テーマを修正するには、ショップにログインするだけではダメで、上記サイトにあるように、初期化してテーマ名称を決めるか、テーマのIDから対象テーマを取ってくる必要がありますが、そのステップが抜けて、いきなり serveしているのではと推測します。

 

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

ありがとうございます。
もう一度操作いたしました。

shopify version → 2.2.2

cd Desktop/project → 事前に作っていたフォルダに移動

shopify login --store test-rev-04.myshopify.com → ログイン

shopify theme pull → Dawn-main 1 [unpublished] Theme pulled successfully

shopify theme serve → エラー

この手順でやっていますが以前と同じエラのようです・・・。

何か間違っていたり、手順が抜けていたりしますでしょうか?

下記がターミナルの作業コードです。

Last login: Mon Sep  6 22:33:50 on ttys000

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % shopify version

2.2.2

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % cd Desktop/project

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % shopify login --store test-rev-04.myshopify.com

Logged into store test-rev-04.myshopify.com in partner organization studio Rev

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % shopify theme pull

? Select a theme to pull from (You chose: Dawn-main 1 [unpublished])

┏━━ Pulling theme files from Dawn-main 1 (#126682267847) on test-rev-04.myshopify.com                                                                           

                                                                          100%

┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (91.75s) ━━

Theme pulled successfully

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % shopify theme serve

This command ran with ID: 44464

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % 


何卒ご教授くださいますようよろしくお願いします。

 

junichiokamura
Community Manager
1201 280 509

ご回答ありがとうございます。

手順とバージョンはあってそうですね。

ちなみに私も同じ手順でやってみましたが、添付のように成功しています。

あとは考えられるのは、pullしているテーマに問題がある場合ですが、例えば、テーマストアからインストールしたdawnや、GitHub連携してmasterから持ってきた最新のdawn、もしくはほかのテーマストアのテーマなどをpullした場合はどうですか?

Screen Shot 2021-09-06 at 11.28.27 PM.png

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

とりあえずストアに入っている”Debut”でやってみましたが同じ結果でした。

次に、https://github.com/Shopify/dawnからdawn-main.zipを落として管理画面からアップロード、
次にターミナルで操作しましたが同じ下記の結果になりました。。。

Last login: Mon Sep  6 23:38:11 on ttys000

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % cd Desktop/project

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % shopify login --store test-rev-04.myshopify.com

Logged into store test-rev-04.myshopify.com in partner organization studio Rev

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % shopify theme pull

? Select a theme to pull from (You chose: Dawn-main [unpublished])

┏━━ Pulling theme files from Dawn-main (#126961877191) on test-rev-04.myshopify.com                                                                             

                                                                          100%

┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (92.49s) ━━

Theme pulled successfully                                                     

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % shopify theme serve

This command ran with ID: 11335

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.2.2/gems/shopify-cli-2.2.2/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % 

 

その後 

shopify theme checkをしてみたら下記のようなコードが出ますが何か関係あるのでしょうか?

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % shopify theme check

NOTE: nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri. See https://github.com/sparklemotion/nokogiri/issues/2205 for more information.

Checking . ...

sections/header.liquid: suggestion: TemplateLength: Template has too many lines [548/500].

 

sections/main-collection-product-grid.liquid: suggestion: TemplateLength: Template has too many lines [513/500].

 

sections/predictive-search.liquid:1: error: UndefinedObject: Undefined object `predictive_search`.

{%- if predictive_search.performed -%}

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 

sections/predictive-search.liquid:3: error: UndefinedObject: Undefined object `predictive_search`.

{%- if predictive_search.resources.products.size > 0 -%}

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 

sections/predictive-search.liquid:13: error: UndefinedObject: Undefined object `predictive_search`.

{%- for product in predictive_search.resources.products -%}

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 

sections/predictive-search.liquid:38: error: UndefinedObject: Undefined object `predictive_search`.

{{ 'templates.search.search_for' | t: terms: predictive_search.terms }}

  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 

sections/predictive-search.liquid:53: error: UndefinedObject: Undefined object `predictive_search`.

{{ 'templates.search.no_results' | t: terms: predictive_search.terms }}

  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 

sections/predictive-search.liquid:55: error: UndefinedObject: Undefined object `predictive_search`.

{{ 'templates.search.results_with_count' | t: terms: predictive_search.terms, count: predictive_search.resources.prod...

 

locales/bg-BG.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/cs.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/cs.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/cs.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/da.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/da.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/da.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/de.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/de.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/de.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/el.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/en.default.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.apps, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.featured-product, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/en.default.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/es.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/es.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/es.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/fi.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/fi.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/fi.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/fr.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/fr.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/fr.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/hr-HR.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/hu.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/id.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/it.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/it.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/it.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/ja.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/ja.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/ja.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/ko.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/ko.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/ko.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/lt-LT.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/nb.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/nb.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/nb.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/nl.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/nl.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/nl.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/pl.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/pl.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/pl.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/pt-BR.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/pt-BR.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/pt-BR.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/pt-PT.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/pt-PT.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/pt-PT.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/ro-RO.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/ru.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/sk-SK.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/sl-SI.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/sv.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/sv.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/sv.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/th.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/th.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/th.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/tr.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/tr.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/tr.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/vi.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/vi.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/vi.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/zh-CN.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/zh-CN.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/zh-CN.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

locales/zh-TW.json: suggestion: MatchingTranslations: Extra translation keys: general.share.share, blogs.article.read_more, sections.footer.social_placeholder.

 

locales/zh-TW.schema.json: suggestion: MatchingTranslations: Extra translation keys: settings_schema, sections.announcement-bar, sections.collage, sections.collection-list, sections.contact-form, sections.custom-liquid, sections.featured-blog, sections.featured-collection, sections.image-banner, sections.image-with-text, sections.main-article, sections.main-blog, sections.main-cart-footer, sections.main-cart-items, sections.main-collection-banner, sections.main-collection-product-grid, sections.main-list-collections, sections.main-page, sections.main-password-footer, sections.main-password-header, sections.main-product, sections.main-search, sections.multicolumn, sections.newsletter, sections.page, sections.product-recommendations, sections.rich-text, sections.apps, sections.featured-product, sections.header.name, sections.header.settings, sections.footer.name, sections.footer.blocks, sections.footer.settings, sections.video.name, sections.video.settings, sections.video.presets.

 

locales/zh-TW.schema.json: suggestion: MatchingTranslations: Missing translation keys: general, date_formats, newsletter, accessibility, blogs, onboarding, products, templates, sections.header.announcement, sections.header.menu, sections.header.cart_count, sections.cart, sections.footer.payment, sections.featured_blog, sections.featured_collection, sections.collection_list, sections.collection_template, sections.video.load_video, localization, customer, gift_cards.

 

sections/predictive-search.liquid:17: suggestion: ImgLazyLoading: Add a loading="lazy" attribute to defer loading of images.

<img class="predictive-search__image"

 

220 files inspected, 81 offenses detected, 0 offenses auto-correctable

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro project % 

 

mimi6520
探検家
48 0 5

ありがとうございます。

とりあえず一度、"Debut"でやって見ましたが結果は同じエラーでした。

次にhttps://github.com/Shopify/dawnからdawn-main.zipをダウンロードして管理画面からアップしても同じ結果でした。

次に、管理画面のShopify テーマストアからDawnを入れて同じ操作をしましたが同じ結果でした。。。

junichiokamura
Community Manager
1201 280 509

なるほど、ありがとうございます。

cd Desktop/project → 事前に作っていたフォルダに移動

project の中は空ですか? 一度このディレクトリを消して、新しく空のフォルダをつくて、そこでpullしてみてください。

pullするとその場所にテーマファイルをダウンロードしますが、別のテーマや関係ないファイルがあると衝突するのではと思います。

それでも問題がある場合は、私の共有したcreateの方法で、theme init から新規のDawnテーマをCLIでローカルで作って serveしてみてください。

これでも同じエラーの場合、使っているruntime (Ruby)などやCLIのインストールがおかしい可能性がありますね・・

 

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

ありがとうございます。

shopify theme initしてDawnを落としました。そしてまた、

cdでディレクトリ移動、

shopify login --store test-rev-04.myshopify.comでログイン、

shopify theme serve
をしました。

結果は同じでした。

 

rubyは下記です。

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % ruby -v

ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin20]

shopify CLIはruby 2.7以上とあったかと思いますのでこれで行けるかと思うのですが、、、、。

そちらのrubyのバージョンは何をお使いですか?

また、shopify versionは2.2.2ですが何をお使いですか?

junichiokamura
Community Manager
1201 280 509

ありがとうございます。

バージョンは2.2.2  で、ruby は、 

ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]

なので、公式サポートよりちょっと古いですね。

OSはMacで最新です。

インストールは、gemかhomebrewで行われたのでしょうか?

https://shopify.dev/themes/getting-started/create

もう一度上記の手順でインストールからやり直してみてください。

あとは、疑わしい点は、sudo などのパーミションの問題です。

rubyやCLIのインストールをしたユーザー権限とCLIのユーザー権限が異なっていたりすると、予期せぬエラーが出ることがあります。

 

 

 

Senior Partner Solutions Engineer
junichiokamura
Community Manager
1201 280 509

ちなみに、エラーが出ている直接のソースの箇所は何らかのURLアクセスが失敗しているようです。

ショップにログインしたり、パートナーアカウントにログインできているのであれば、ネットワークは問題ないと思いますが、両方ちゃんとCLIからログインできていますか?

CLIの実行にはショップ以外に、パートナーアカウントへのログインも必要です。ログインセッションがない、初回の場合は、ブラウザが立ち上がって、ショップやパートナーアカウントにログインする操作が実行されますが、それは成功しましたか?

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

ありがとうございます。

はい、ブラウザが立ち上がり英語が出ました。
ターミナルで作業している間も管理画面に入っています。

最新は2.3.0に上がったようですね。

作業コードは下記になりました。

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew tap shopify/shopify

Updating Homebrew...

==> Auto-updated Homebrew!

Updated 2 taps (shopify/shopify and homebrew/core).

==> New Formulae

abricate               bioperl                datree                 libmng                 rollup

airspyhf               bubblewrap             dotbot                 librespot              sail

alembic                cargo-llvm-lines       drill                  lit                    spirv-llvm-translator

ansilove               cargo-outdated         esbuild                locust                 uftrace

artillery              chrpath                f2                     mrbayes                vite

atop                   cilium-cli             fastq-tools            msgpack-cxx            vue-cli

basis_universal        cue                    go@1.16                nanoflann              yt-dlp

==> Updated Formulae

Updated 1222 formulae.

==> Renamed Formulae

kafkacat -> kcat

==> Deleted Formulae

boost@1.57                            boost@1.60                            procyon-decompiler

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew install shopify-cli

==> Installing shopify-cli from shopify/shopify

shopify-cli 2.2.2 is installed but outdated

==> Upgrading shopify/shopify/shopify-cli

  2.2.2 -> 2.3.0 

 

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1l

######################################################################## 100.0%

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d0989e7dc562

==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d

######################################################################## 100.0%

==> Fetching shopify-cli from gem source

Fetching shopify-cli-2.3.0.gem

Downloaded shopify-cli-2.3.0

==> Installing dependencies for shopify/shopify/shopify-cli: openssl@1.1

==> Installing shopify/shopify/shopify-cli dependency: openssl@1.1

==> Pouring openssl@1.1--1.1.1l.big_sur.bottle.tar.gz

==> Regenerating CA certificate bundle from keychain, this may take a while...

🍺  /usr/local/Cellar/openssl@1.1/1.1.1l: 8,073 files, 18.5MB

==> Installing shopify/shopify/shopify-cli

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/shopify-cli-2.3.0.gem --n

🍺  /usr/local/Cellar/shopify-cli/2.3.0: 1,778 files, 34.3MB, built in 28 seconds

Removing: /usr/local/Cellar/shopify-cli/2.2.2... (1,843 files, 38.5MB)

==> Upgrading 1 dependent:

shopify/shopify/theme-check 1.2.0 -> 1.4.0

==> Upgrading shopify/shopify/theme-check

  1.2.0 -> 1.4.0 

 

==> Fetching theme-check from gem source

Fetching theme-check-1.4.0.gem

Downloaded theme-check-1.4.0

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/theme-check-1.4.0.gem --n

🍺  /usr/local/Cellar/theme-check/1.4.0: 655 files, 25.8MB, built in 14 seconds

Removing: /usr/local/Cellar/theme-check/1.2.0... (721 files, 30.0MB)

==> Checking for dependents of upgraded formulae...

==> No broken dependents found!

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % cd Desktop/aaa

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % shopify theme init

shopify theme init

? Theme name

> pro

┏━━ Cloning https://github.com/Shopify/dawn.git into pro… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

                                                                                                            100%

┗━━ Cloned into pro ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (1.93s) ━━

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % cd pro

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify login --store test-rev-04.myshopify.com

shopify login --store test-rev-04.myshopify.com

Logged into store test-rev-04.myshopify.com in partner organization studio Rev

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify theme serve

shopify theme serve

This command ran with ID: 87760

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % 

 

rubyは変更せず

ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro %

 

でターミナル動かしてます。

 

mimi6520
探検家
48 0 5

はい、ログインしています。
最初はブラウザが立ち上がり英語が出ました。

 

CLIを再度インストールしました。

こちらも結果は同じでした・・・。

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew tap shopify/shopify

Updating Homebrew...

==> Auto-updated Homebrew!

Updated 2 taps (shopify/shopify and homebrew/core).

==> New Formulae

abricate               bioperl                datree                 libmng                 rollup

airspyhf               bubblewrap             dotbot                 librespot              sail

alembic                cargo-llvm-lines       drill                  lit                    spirv-llvm-translator

ansilove               cargo-outdated         esbuild                locust                 uftrace

artillery              chrpath                f2                     mrbayes                vite

atop                   cilium-cli             fastq-tools            msgpack-cxx            vue-cli

basis_universal        cue                    go@1.16                nanoflann              yt-dlp

==> Updated Formulae

Updated 1222 formulae.

==> Renamed Formulae

kafkacat -> kcat

==> Deleted Formulae

boost@1.57                            boost@1.60                            procyon-decompiler

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew install shopify-cli

==> Installing shopify-cli from shopify/shopify

shopify-cli 2.2.2 is installed but outdated

==> Upgrading shopify/shopify/shopify-cli

  2.2.2 -> 2.3.0 

 

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1l

######################################################################## 100.0%

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d0989e7dc562

==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d

######################################################################## 100.0%

==> Fetching shopify-cli from gem source

Fetching shopify-cli-2.3.0.gem

Downloaded shopify-cli-2.3.0

==> Installing dependencies for shopify/shopify/shopify-cli: openssl@1.1

==> Installing shopify/shopify/shopify-cli dependency: openssl@1.1

==> Pouring openssl@1.1--1.1.1l.big_sur.bottle.tar.gz

==> Regenerating CA certificate bundle from keychain, this may take a while...

🍺  /usr/local/Cellar/openssl@1.1/1.1.1l: 8,073 files, 18.5MB

==> Installing shopify/shopify/shopify-cli

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/shopify-cli-2.3.0.gem --n

🍺  /usr/local/Cellar/shopify-cli/2.3.0: 1,778 files, 34.3MB, built in 28 seconds

Removing: /usr/local/Cellar/shopify-cli/2.2.2... (1,843 files, 38.5MB)

==> Upgrading 1 dependent:

shopify/shopify/theme-check 1.2.0 -> 1.4.0

==> Upgrading shopify/shopify/theme-check

  1.2.0 -> 1.4.0 

 

==> Fetching theme-check from gem source

Fetching theme-check-1.4.0.gem

Downloaded theme-check-1.4.0

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/theme-check-1.4.0.gem --n

🍺  /usr/local/Cellar/theme-check/1.4.0: 655 files, 25.8MB, built in 14 seconds

Removing: /usr/local/Cellar/theme-check/1.2.0... (721 files, 30.0MB)

==> Checking for dependents of upgraded formulae...

==> No broken dependents found!

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % cd Desktop/aaa

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % shopify theme init

shopify theme init

? Theme name

> pro

┏━━ Cloning https://github.com/Shopify/dawn.git into pro… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

                                                                                                            100%

┗━━ Cloned into pro ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (1.93s) ━━

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % cd pro

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify login --store test-rev-04.myshopify.com

shopify login --store test-rev-04.myshopify.com

Logged into store test-rev-04.myshopify.com in partner organization studio Rev

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify theme serve

shopify theme serve

This command ran with ID: 87760

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

mimi6520
探検家
48 0 5

CLIのインストールもやり直しました。

Last login: Tue Sep  7 00:43:35 on ttys000

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew tap shopify/shopify

Updating Homebrew...

==> Auto-updated Homebrew!

Updated 2 taps (shopify/shopify and homebrew/core).

==> New Formulae

abricate               bioperl                datree                 libmng                 rollup

airspyhf               bubblewrap             dotbot                 librespot              sail

alembic                cargo-llvm-lines       drill                  lit                    spirv-llvm-translator

ansilove               cargo-outdated         esbuild                locust                 uftrace

artillery              chrpath                f2                     mrbayes                vite

atop                   cilium-cli             fastq-tools            msgpack-cxx            vue-cli

basis_universal        cue                    go@1.16                nanoflann              yt-dlp

==> Updated Formulae

Updated 1222 formulae.

==> Renamed Formulae

kafkacat -> kcat

==> Deleted Formulae

boost@1.57                            boost@1.60                            procyon-decompiler

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew install shopify-cli

==> Installing shopify-cli from shopify/shopify

shopify-cli 2.2.2 is installed but outdated

==> Upgrading shopify/shopify/shopify-cli

  2.2.2 -> 2.3.0 

 

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1l

######################################################################## 100.0%

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d0989e7dc562

==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d

######################################################################## 100.0%

==> Fetching shopify-cli from gem source

Fetching shopify-cli-2.3.0.gem

Downloaded shopify-cli-2.3.0

==> Installing dependencies for shopify/shopify/shopify-cli: openssl@1.1

==> Installing shopify/shopify/shopify-cli dependency: openssl@1.1

==> Pouring openssl@1.1--1.1.1l.big_sur.bottle.tar.gz

==> Regenerating CA certificate bundle from keychain, this may take a while...

🍺  /usr/local/Cellar/openssl@1.1/1.1.1l: 8,073 files, 18.5MB

==> Installing shopify/shopify/shopify-cli

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/shopify-cli-2.3.0.gem --n

🍺  /usr/local/Cellar/shopify-cli/2.3.0: 1,778 files, 34.3MB, built in 28 seconds

Removing: /usr/local/Cellar/shopify-cli/2.2.2... (1,843 files, 38.5MB)

==> Upgrading 1 dependent:

shopify/shopify/theme-check 1.2.0 -> 1.4.0

==> Upgrading shopify/shopify/theme-check

  1.2.0 -> 1.4.0 

 

==> Fetching theme-check from gem source

Fetching theme-check-1.4.0.gem

Downloaded theme-check-1.4.0

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/theme-check-1.4.0.gem --n

🍺  /usr/local/Cellar/theme-check/1.4.0: 655 files, 25.8MB, built in 14 seconds

Removing: /usr/local/Cellar/theme-check/1.2.0... (721 files, 30.0MB)

==> Checking for dependents of upgraded formulae...

==> No broken dependents found!

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % cd Desktop/aaa

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % shopify theme init

shopify theme init

? Theme name

> pro

┏━━ Cloning https://github.com/Shopify/dawn.git into pro… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

                                                                                                            100%

┗━━ Cloned into pro ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (1.93s) ━━

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % cd pro

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify login --store test-rev-04.myshopify.com

shopify login --store test-rev-04.myshopify.com

Logged into store test-rev-04.myshopify.com in partner organization studio Rev

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify theme serve

shopify theme serve

This command ran with ID: 87760

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

mimi6520
探検家
48 0 5

ありがとうございます。
CLIのインストールもやり直しました。

Last login: Tue Sep  7 00:43:35 on ttys000

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew tap shopify/shopify

Updating Homebrew...

==> Auto-updated Homebrew!

Updated 2 taps (shopify/shopify and homebrew/core).

==> New Formulae

abricate               bioperl                datree                 libmng                 rollup

airspyhf               bubblewrap             dotbot                 librespot              sail

alembic                cargo-llvm-lines       drill                  lit                    spirv-llvm-translator

ansilove               cargo-outdated         esbuild                locust                 uftrace

artillery              chrpath                f2                     mrbayes                vite

atop                   cilium-cli             fastq-tools            msgpack-cxx            vue-cli

basis_universal        cue                    go@1.16                nanoflann              yt-dlp

==> Updated Formulae

Updated 1222 formulae.

==> Renamed Formulae

kafkacat -> kcat

==> Deleted Formulae

boost@1.57                            boost@1.60                            procyon-decompiler

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew install shopify-cli

==> Installing shopify-cli from shopify/shopify

shopify-cli 2.2.2 is installed but outdated

==> Upgrading shopify/shopify/shopify-cli

  2.2.2 -> 2.3.0 

 

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1l

######################################################################## 100.0%

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d0989e7dc562

==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d

######################################################################## 100.0%

==> Fetching shopify-cli from gem source

Fetching shopify-cli-2.3.0.gem

Downloaded shopify-cli-2.3.0

==> Installing dependencies for shopify/shopify/shopify-cli: openssl@1.1

==> Installing shopify/shopify/shopify-cli dependency: openssl@1.1

==> Pouring openssl@1.1--1.1.1l.big_sur.bottle.tar.gz

==> Regenerating CA certificate bundle from keychain, this may take a while...

🍺  /usr/local/Cellar/openssl@1.1/1.1.1l: 8,073 files, 18.5MB

==> Installing shopify/shopify/shopify-cli

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/shopify-cli-2.3.0.gem --n

🍺  /usr/local/Cellar/shopify-cli/2.3.0: 1,778 files, 34.3MB, built in 28 seconds

Removing: /usr/local/Cellar/shopify-cli/2.2.2... (1,843 files, 38.5MB)

==> Upgrading 1 dependent:

shopify/shopify/theme-check 1.2.0 -> 1.4.0

==> Upgrading shopify/shopify/theme-check

  1.2.0 -> 1.4.0 

 

==> Fetching theme-check from gem source

Fetching theme-check-1.4.0.gem

Downloaded theme-check-1.4.0

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/theme-check-1.4.0.gem --n

🍺  /usr/local/Cellar/theme-check/1.4.0: 655 files, 25.8MB, built in 14 seconds

Removing: /usr/local/Cellar/theme-check/1.2.0... (721 files, 30.0MB)

==> Checking for dependents of upgraded formulae...

==> No broken dependents found!

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % cd Desktop/aaa

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % shopify theme init

shopify theme init

? Theme name

> pro

┏━━ Cloning https://github.com/Shopify/dawn.git into pro… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

                                                                                                            100%

┗━━ Cloned into pro ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (1.93s) ━━

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % cd pro

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify login --store test-rev-04.myshopify.com

shopify login --store test-rev-04.myshopify.com

Logged into store test-rev-04.myshopify.com in partner organization studio Rev

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify theme serve

shopify theme serve

This command ran with ID: 87760

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

mimi6520
探検家
48 0 5

CLIを再度インストールしました。

こちらも結果は同じでした・・・。

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew tap shopify/shopify

Updating Homebrew...

==> Auto-updated Homebrew!

Updated 2 taps (shopify/shopify and homebrew/core).

==> New Formulae

abricate               bioperl                datree                 libmng                 rollup

airspyhf               bubblewrap             dotbot                 librespot              sail

alembic                cargo-llvm-lines       drill                  lit                    spirv-llvm-translator

ansilove               cargo-outdated         esbuild                locust                 uftrace

artillery              chrpath                f2                     mrbayes                vite

atop                   cilium-cli             fastq-tools            msgpack-cxx            vue-cli

basis_universal        cue                    go@1.16                nanoflann              yt-dlp

==> Updated Formulae

Updated 1222 formulae.

==> Renamed Formulae

kafkacat -> kcat

==> Deleted Formulae

boost@1.57                            boost@1.60                            procyon-decompiler

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % brew install shopify-cli

==> Installing shopify-cli from shopify/shopify

shopify-cli 2.2.2 is installed but outdated

==> Upgrading shopify/shopify/shopify-cli

  2.2.2 -> 2.3.0 

 

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1l

######################################################################## 100.0%

==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d0989e7dc562

==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ff8b2a965c680b4d9baccd60e799d

######################################################################## 100.0%

==> Fetching shopify-cli from gem source

Fetching shopify-cli-2.3.0.gem

Downloaded shopify-cli-2.3.0

==> Installing dependencies for shopify/shopify/shopify-cli: openssl@1.1

==> Installing shopify/shopify/shopify-cli dependency: openssl@1.1

==> Pouring openssl@1.1--1.1.1l.big_sur.bottle.tar.gz

==> Regenerating CA certificate bundle from keychain, this may take a while...

🍺  /usr/local/Cellar/openssl@1.1/1.1.1l: 8,073 files, 18.5MB

==> Installing shopify/shopify/shopify-cli

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/shopify-cli-2.3.0.gem --n

🍺  /usr/local/Cellar/shopify-cli/2.3.0: 1,778 files, 34.3MB, built in 28 seconds

Removing: /usr/local/Cellar/shopify-cli/2.2.2... (1,843 files, 38.5MB)

==> Upgrading 1 dependent:

shopify/shopify/theme-check 1.2.0 -> 1.4.0

==> Upgrading shopify/shopify/theme-check

  1.2.0 -> 1.4.0 

 

==> Fetching theme-check from gem source

Fetching theme-check-1.4.0.gem

Downloaded theme-check-1.4.0

==> /usr/local/opt/ruby/bin/gem install /Users/miyazakitoshikazu/Library/Caches/Homebrew/theme-check-1.4.0.gem --n

🍺  /usr/local/Cellar/theme-check/1.4.0: 655 files, 25.8MB, built in 14 seconds

Removing: /usr/local/Cellar/theme-check/1.2.0... (721 files, 30.0MB)

==> Checking for dependents of upgraded formulae...

==> No broken dependents found!

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % cd Desktop/aaa

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % shopify theme init

shopify theme init

? Theme name

> pro

┏━━ Cloning https://github.com/Shopify/dawn.git into pro… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

                                                                                                            100%

┗━━ Cloned into pro ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (1.93s) ━━

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro aaa % cd pro

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify login --store test-rev-04.myshopify.com

shopify login --store test-rev-04.myshopify.com

Logged into store test-rev-04.myshopify.com in partner organization studio Rev

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro pro % shopify theme serve

shopify theme serve

This command ran with ID: 87760

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:86:in `request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:92:in `block in rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in `retry_after'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/admin_api.rb:95:in `rest_request'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/theme.rb:104:in `create'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/development_theme.rb:26:in `ensure_exists!'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/theme/dev_server.rb:36:in `start'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/project_types/theme/commands/serve.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/sub_command.rb:13:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/command.rb:19:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in `block (2 levels) in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in `block (2 levels) in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in `with_id'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in `block in with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in `log_output_to'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in `with_logging'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in `block (2 levels) in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in `block in with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:in `twrap'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in `with_traps'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/executor.rb:15:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:24:in `block in call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/monorail.rb:32:in `log'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/core/entry_point.rb:23:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:33:in `block in <top (required)>'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in `handle_abort'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in `call'

from /usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/bin/shopify:32:in `<top (required)>'

from /usr/local/bin/shopify:6:in `load'

from /usr/local/bin/shopify:6:in `<main>'

mimi6520
探検家
48 0 5

はい、最初はブラウザが立ち上がり英語が出ました。

 

HomebrewCLIをインストールし直し、操作しましたが同じ結果でした。

junichiokamura
Community Manager
1201 280 509

>  その後 shopify theme check すると

> NOTE: nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri. See https://github.com/sparklemotion/nokogiri/issues/2205 for more information.

最初の投稿のこれを見落としていました。

theme serve でローカルでテーマを立ち上げる時や、CLIでアプリをPCで実行するときは、内部的にngrokというツールを使っています。これはローカルPCのURLを、Shopifyがアクセス可能な外部URLに変換するものですが、以下に今回と似た事象が報告されています。

https://github.com/Shopify/shopify-cli/issues/1020

おそらくこのngrokというライブラリがうまくインストールできていないのではと思います。

新しいCLIだと、インストール時にこのツールも一緒に入れてくれますが、何かの拍子でngrok自体先に入れてあると、そのバージョンが不一致だったりしてうまく動かないのかもしれません。

上記だと、ngrokを手動で入れるように書いてありますが、

ngrok --version

でインストールされているngrokを確認してもらえますか?

僕の環境は以下です。

ngrok version 2.3.30

 

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5
スポイラ


すいません、ずっと丁寧にありがとうございます。

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro new % ngrok --version

zsh: command not found: ngrok

これはngrokが入っていないのか、そもそもzshじゃだめなのですかね?

そちらのshellは、bashで動かされてますか?

junichiokamura
Community Manager
1201 280 509

そちらの返信がスパム判定されているようなので、スクリーンショットを貼り付けますが、ngrok がインストールされてないので、これではCLIのいくつかのコマンドは動作しないですね。。

以下などを参考にして、手動で入れてみてください。(homebrew で入るはずです)

https://qiita.com/Marusoccer/items/7033c1bb9c85bf6789bd

Screen Shot 2021-09-07 at 10.00.40 AM.png

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

すいません、ありがとうございます。

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro new % ngrok --version

zsh: command not found: ngrok

 

でしたので、一度shopify CLIを入れ直して

ngrokを入れましたが同じような感じです。

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % shopify version

2.3.0

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % ngrok -v

ngrok version 2.3.40

junichiokamura
Community Manager
1201 280 509

なるほど。あとは、brew でインストールしている場合、CLIとngrok を以下の手順で削除して、もう一度入れ直すぐらいですかね・・  (ngrokは、CLIのインストール時に入るはずです)

https://macgarage.jp/homebrew-uninstall/

brew uninstall shopify-cli

brew uninstall ngrok

CLIのGitHubでは、brewの手順が記載してあるので、brew でやるのをお勧めします。

https://github.com/Shopify/shopify-cli

もし、別のPCがあれば、それで試して、同じストアやテーマに対してうまくいけば、環境依存ということになります。

なお、MacのOSは新しいものでしょうか?

 

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

ありがとございます。

こちらの環境は、

MacBook Pro (15-inch, 2017)

OS : Big Sur

です。

一度、brew uninstall shopify-cliとbrew uninstall ngrokで消しました。
次に

brew tap shopify/shopify

brew install shopify-cli

でshopify CLIを入れました

 

次に確認で、

brew listしました。

 

↓結果

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro new % brew list

brew list

==> Formulae

autoconf libyaml pcre2 readline shopify-cli

gettext m4 pkg-config ruby theme-check

git openssl@1.1 rbenv ruby-build themekit

 

これでshopify-cliが入っていることが確認できます。

 

ちなみにバージョン確認では

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro new % shopify version

shopify version

2.3.0

 

です。

”ngrokは、CLIのインストール時に入るはずです”ですが、ngrokを削除以前はbrew listで見ると

Casks(拡張)として入ってましたが、ないということは
shopify cliの中に同封されているのでしょうか?

brew install ngrokしてからbrew listすると

下記のようにCasksにngrokがあります。

そちらもこのCasksのngrokが働いているのでしょうか?

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro new % brew list

 

==> Formulae

autoconf libyaml pcre2 readline shopify-cli

gettext m4 pkg-config ruby theme-check

git openssl@1.1 rbenv ruby-build themekit

 

==> Casks

ngrok

 

 

ちなみに、shopify theme serveをするときに

Macでローカルサーバを立ち上げとかないといけない(sudo apachectl start)とか

Ngrok認証トークンをしないといけないとか手順に書いていないようなことはないのでしょうか?

junichiokamura
Community Manager
1201 280 509

Casks(拡張)として入ってましたが、ないということは
> shopify cliの中に同封されているのでしょうか?

CLIが明示的にはインストールしませんが、依存関係にある外部のパッケージにngrokを使うものがあるので、それではいる筈です。

CLIをインストール後に、ngrok のコマンドが打てれば入っています。

> Macでローカルサーバを立ち上げとかないといけない(sudo apachectl start)とか

> Ngrok認証トークンをしないといけないとか手順に書いていないようなことはないのでしょうか?

これは不要な筈です。(私の環境でもやっていません)

 

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

GITの方でも同じ事で止まっている方がいるようですが、こちらも解決されていないようです。。。

https://github.com/Shopify/shopify-cli/issues/1494

 

junichiokamura
Community Manager
1201 280 509

確かにそうですね。社内でも聞いてみますね。

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

すいません。よろしくお願いします。

長々とありがとうございます。

ちなみに、CLIでテーマ開発ができないとなると現時点では

● ストアとGIT HUBで繋いでローカル作業して、チマチマPUSHするか、

● 直接管理画面のコード編集するか

● ローカル作業を毎回zipでテーマアップロードするか

の3択ってところでしょうか・・・?

 

junichiokamura
Community Manager
1201 280 509

Dawnを使うのであれば、そうなりますね。 Theme  kitは、OS 2.0 を正式サポートしていないので。(たまたま動く可能性はありますが)

 

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

そうですよね。。。。
色々とありがとうございます。

また何かわかったことや、

お気づきのことがあれば

お教えいただけましたら助かります。

 

よろしくお願いいたします。

junichiokamura
Community Manager
1201 280 509

すいません、実際にCLIを作っているエンジニアのチームに聞いてみたところ、元々のエラー内容を指摘されましたが、

念のため確認ですが、そもそもメッセージにあるように、長い名称や日本語を含んだ名称を該当テーマにつけていたりしないでしょうか?

それと、Narrative などのテーマストアからダウンロードしてそのままの名称のものでも同じ、「名称が長すぎます」のエラーが出ますでしょうか?

おそらくですが、エラーメッセージそのものの、テーマの名称が長すぎるだけ、という認識で捉えられているので、回答がついていないのかなと思います。

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

ありがとうございます。

やってみます。

管理画面内で無料のテーマのNarrativeをストアにダウンロード

shopify theme pullでローカルに落として(名前はNarrative)、shopify theme serveしましたが同じエラーを吐き出します。

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro Narrative % shopify theme serve

This command ran with ID: 60570

Please include this information in any issues/report along with relevant logs

/usr/local/Cellar/shopify-cli/2.3.0/gems/shopify-cli-2.3.0/lib/shopify-cli/api.rb:78:in `block in request': 422 (ShopifyCli::API::APIRequestClientError)

{"errors":{"name":["が長すぎます (最高でも50文字以下です)"]}}

 

 

このエラーの長すぎるのはテーマの名前のことなのですね・・・。

junichiokamura
Community Manager
1201 280 509

ありがとうございます。

エンジニアの方も、そういう単純な話じゃないことに気がついて、現在調査してくれてます。何か分かったら、GitHubの方にコメントくれるそうです。

なお、彼と私が調査したところ、このエラーの直接の原因は、CLI自体がテーマの名前を自動生成して、それが長すぎるために起こっているようです。

私もそれは最初に突き止めたのですが、どうしてその処理が走るのかが分かっていない状態です。(URLにアクセスできない場合にこの処理に入ることは分かったのですが)

私のように再現しない人は、この名前の生成処理に入らなくて、エラーに遭遇している人は、なんらかの原因でこの処理が走っているのだと思います。

ですので、しばらく続報をお待ちいただければと思います。

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

すいませんがよろしくお願いいたします。

junichiokamura
Community Manager
1201 280 509

エンジニアが原因を解明して、GitHubの方にもコメントを入れてくれました。

細かい説明は省きますが、結論から言うと、ランダムにこのエラーに遭遇する人が存在するCLI側のバグのようで、現在修正中とのことです。

直ったら知らせるとのことなので、そうしましたら、CLIのupdateを行っていただければ直るかと思います。

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

そ、そ、そうなんですねぇ〜。。。。。

ありがとうございます。

まだ、2.0になって日が浅いのでバグも多いのですかね。。


お待ちしておきます。
すいません、色々と長々とありがとうございました。

とても気長に丁寧に対応していただきありがとうございました!

 

mimi6520
探検家
48 0 5

すいません、
https://github.com/Shopify/shopify-cli/issues/1494
GITにも書きましたが、

fix.rbファイルは何処かに追記するってことですか?

それとも何処かに新たにfix.rbファイルを作るってことでしょうか?

よろしくますします。

junichiokamura
Community Manager
1201 280 509

GitHubにコメントしました。

もうすでにCLIの修正のPull Request(コード修正)は出ているので、それが取り込まれればCLIをアップデートするだけで直るはずです。

GitHubに書いてあるfix.rbはそれより前に自分で直すためのものなので、CLIの修正を待てる場合は、実行不要です。

GitHubにも書きましたが、fix.rbというファイルをどこかの場所に新たに作って、それに実行権限をつけてTerminalで実行すれば、修正内容がローカルのCLIのコードに反映されます。

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

ありがとうございます。

なんとか繋げることができました!!!

これ、めっちゃ便利ですね!

junichiokamura
Community Manager
1201 280 509

成功

GitHub のPull Requestがマージされたようなので、fix.rb は不要で、CLIを最新にすれば、事象は治っているはずです。

更新方法は以下に載っています。

https://shopify.dev/apps/tools/cli/troubleshooting

 

Senior Partner Solutions Engineer
mimi6520
探検家
48 0 5

最後までありがとうございました!

これからもshopifyを学習していけそうです。

STHM
新規メンバー
9 0 0

▼バージョン
OS : Big Sur 11.6
Ruby : 3.0.0
Shopify CLI : 2.4.0
ngrok : 2.3.40
Node.js : v14.15.5

以下をドキュメントを参照しShopify CLI開発環境テストを行っています。
https://shopify.dev/apps/tools/cli/getting-started

my_first_appにて、shopify node serveを、ターミナルで実行すると、以下のエラーが表示されます。

✗ ngrok tunnel could not be stopped. Try running killall -9 ngrok

ngrok versionを実行すると2.3.40が返ってきます。killallしても同じです。解決策ありますでしょうか?

mimi6520
探検家
48 0 5

すいません、私はアプリの方は全く手を出していないので全く分からないです。

お力になれずすいません。

この質問は新たに新規質問で問いた方がいいかと思います。

mimi6520
探検家
48 0 5

すいません、ありがとうございます。

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro new % ngrok --version

zsh: command not found: ngrok

 

でしたので、一度shopify CLIを入れ直して

ngrokを入れましたが同じような感じです。

 

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % shopify version

2.3.0

miyazakitoshikazu@miyazakitoshikazunoMacBook-Pro ~ % ngrok -v

ngrok version 2.3.40

mimi6520
探検家
48 0 5

https://twitter.com/orca48691/status/1435001725270716416

こちらにも同じような方がいましたが、解決できていない人のようです。。。。