FROM CACHE - jp_header
このコミュニティはピアツーピアサポートに移行しました。Shopify サポートは今後、このコミュニティへのサービスを提供いたしません。これからもぜひ、他のマーチャントやパートナーとつながり、サポートし合い、経験を共有してください。 当社の行動規範に違反する行動や削除を希望するコンテンツがありましたら、引き続きご報告ください

Shopify CLI環境構築で"shopify login -store ストアURL"で"command login not found"とエラーがでる

解決済

Shopify CLI環境構築で"shopify login -store ストアURL"で"command login not found"とエラーがでる

aoi_16
Shopify Partner
25 1 4

Shopify CLI環境構築をしています。

 

Shopify version

 

とコマンドを打つと、

 

Current Shopify CLI version: 3.20.1

 

と返されますので正常にインストールはできていると思います。

 

 

shopify login -store ストアURL (shopify login --sotre でも試しました)

 

とコマンドを打つと、

 

error

command login not found

 

というエラーが出てこれ以上先に進めず原因が分かりません;

原因と対処法のアドバイスいただけませんでしょうか?

 

 

shopify commands

でコマンド一覧を出すと「login」というコマンドがそもそも入ってないです。

 

Command               Summary                                                                                                  

 ───────────────────── ──────────────────────────────────────────────────────────────────────────────────────────────────────── 

 auth logout           Logout from Shopify                                                                                      

 commands              list all the commands                                                                                    

 help                  Display help for shopify.                                                                                

 logs                  View full debug logs from the Shopify CLI                                                                

 ngrok auth            Saves a token to authenticate against ngrok. Visit https://dashboard.ngrok.com/signup to create an acco… 

 plugins               List installed plugins.                                                                                  

 plugins add           Installs a plugin into the CLI.                                                                          

 plugins inspect       Displays installation properties of a plugin.                                                            

 plugins install       Installs a plugin into the CLI.                                                                          

 plugins link          Links a plugin into the CLI for development.                                                             

 plugins remove        Removes a plugin from the CLI.                                                                           

 plugins uninstall     Removes a plugin from the CLI.                                                                           

 plugins unlink        Removes a plugin from the CLI.                                                                           

 plugins update        Update installed plugins.                                                                                

 theme check           Validate the theme                                                                                       

 theme delete          Delete remote themes from the connected store. This command can't be undone                              

 theme dev             Uploads the current theme as a development theme to the connected store, then prints theme editor and p… 

 theme info            Print basic information about your theme environment                                                     

 theme init            Clones a Git repository to use as a starting point for building a new theme.                             

 theme language-server Start a Language Server Protocol server.                                                                 

 theme list            Lists your remote themes.                                                                                

 theme open            Opens the preview of your remote theme.                                                                  

 theme package         Package your theme into a .zip file, ready to upload to the Online Store.                                

 theme publish         Set a remote theme as the live theme.                                                                    

 theme pull            Download your remote theme files locally.                                                                

 theme push            Uploads your local theme files to the connected store, overwriting the remote version if specified.      

 theme share           Creates a shareable, unpublished, and new theme on your theme library with a randomized name. Works lik… 

 upgrade               Upgrade the Shopify CLI                                                                                  

 version               Shopify CLI version 

 

OS:M1 Mac  Monterey 12.3.1

1 件の受理された解決策

aoi_16
Shopify Partner
25 1 4

成功

自己解決しました。

Shopify CLI 3以降は "login" というコマンドがなくそのまま作業できるようでした。

元の投稿で解決策を見る

2件の返信2

aoi_16
Shopify Partner
25 1 4

成功

自己解決しました。

Shopify CLI 3以降は "login" というコマンドがなくそのまま作業できるようでした。

mongorian346
Shopify Partner
24 0 1

ストアとShopify CLIの接続の工程は必要なくなったということですか?
どのように接続できるのか知りたいです。