Shopify node create command problem

Topic summary

shopify node create fails during app setup on Windows with Shopify CLI 2.1.0.

  • The reported error appears after selecting the app type: No such file or directory - git (Errno::ENOENT).
  • The stack trace shows the CLI is trying to call Git through Ruby (open3.rb), but Git is not available in the system path.

Current development:

  • Another participant confirmed having the same issue and being blocked at the project-creation step.
  • A follow-up reply provided the fix: install Git, then reopen a new command prompt and run shopify node create again.

Outcome:

  • The thread points to a practical resolution rather than a Shopify CLI bug.
  • No alternative causes or conflicting solutions were discussed.

Key detail:

  • Errno::ENOENT means the required executable could not be found, in this case git, which is needed by the Shopify CLI when creating the Node app.
Summarized with AI on March 5. AI used: gpt-5.4.

I am trying to create an app example but I am with the problem with some commands:

when I am running the shopify version I have this:

shopify version
2.1.0

When I am trying to run the shopify node create

I am receiving this error:

C:\appshopify>shopify node create
? App name
> My analytics App
? What type of app are you building? (Navigate up with ‘k’ and down with ‘j’, press Enter to select, filter with ‘f’)
> 1. Public: An app built for a wide merchant audience.
2. Custom: An app custom built for a single client.

after choose 1

? What type of app are you building? (You chose: Public: An app built for a wide merchant audience.)
This command ran with ID: 20856
Please include this information in any issues/report along with relevant logs
C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:221:in spawn': No such file or directory - git (Errno::ENOENT) from C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:221:in popen_run’
C:\appshfrom C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:102:in popen3' ? App nafrom C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:289:in capture3’

My anafrom C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/system.rb:194:in `delegate_open3’app are you building? (Navigate up with ‘k’ and down with ‘j’, press Enter to select, filter with ‘f’)

  1. Pubfrom C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/system.rb:90:in capture3'tom: An app custom built for a single client. from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/context.rb:493:in capture3’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/git.rb:112:in exec' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/git.rb:118:in rev_parse’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/git.rb:24:in sha' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify_cli.rb:169:in sha’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:110:in default_headers' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:56:in block in request’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in retry_after' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:86:in request’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:36:in query' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api.rb:49:in block in query’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:in retry_after' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api.rb:50:in query’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api/organizations.rb:6:in fetch_all' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/tasks/select_org_and_shop.rb:28:in organizations’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/tasks/select_org_and_shop.rb:39:in get_organization' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/tasks/select_org_and_shop.rb:11:in call’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/task.rb:7:in call' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/project_types/node/forms/create.rb:13:in ask’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/form.rb:13:in ask' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/project_types/node/commands/create.rb:22:in call’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/sub_command.rb:13:in call' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/command.rb:19:in call’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:in block (2 levels) in call' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:in block (2 levels) in with_logging’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:in with_id' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:in block in with_logging’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:in log_output_to' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:in with_logging’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:in block in call' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:in block (2 levels) in with_traps’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:51:in twrap' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:in block in with_traps’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:51:in twrap' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:in with_traps’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:in call' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/executor.rb:15:in call’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/entry_point.rb:24:in block in call' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/monorail.rb:32:in log’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/lib/shopify-cli/core/entry_point.rb:23:in call' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/bin/shopify:33:in block in ’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:in handle_abort' from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:in call’
    from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.1.0/bin/shopify:32:in `’

Hi,

Me too having same problem and not able to create node project. Can someone guide me please? I am stuck in this step.

To solve this problem, you need to install git and then re-execute “shopify node create” in new command prompt.