I’m a newbie at using shopify-cli .
I am following the tutorial “How to Build a Shopify App”.
Whenever I run the command “shopify node create” , and fill in my app name and submit .
I get the same error : “/home/alfred/.rvm/rubies/ruby-2.6.8/lib/ruby/2.6.0/open3.rb:213:in `spawn’: No such file or directory - git (Errno::ENOENT)”
The full stack trace is:
[email removed] shopify node create
? App name
test_ext_xxxx
? What type of app are you building? (You chose: Custom: An app custom built for a single client.)
This command ran with ID: 14454
Please include this information in any issues/report along with relevant logs
/home/alfred/.rvm/rubies/ruby-2.6.8/lib/ruby/2.6.0/open3.rb:213:inspawn': No such file or directory - git (Errno::ENOENT) from /home/alfred/.rvm/rubies/ruby-2.6.8/lib/ruby/2.6.0/open3.rb:213:inpopen_run’
from /home/alfred/.rvm/rubies/ruby-2.6.8/lib/ruby/2.6.0/open3.rb:101:inpopen3' from /home/alfred/.rvm/rubies/ruby-2.6.8/lib/ruby/2.6.0/open3.rb:281:incapture3’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/system.rb:194:indelegate_open3' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/system.rb:90:incapture3’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/context.rb:493:incapture3' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/git.rb:112:inexec’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/git.rb:118:inrev_parse' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/git.rb:24:insha’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify_cli.rb:169:insha' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:110:indefault_headers’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:56:inblock in request' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:inretry_after’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:86:inrequest' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/api.rb:36:inquery’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api.rb:49:inblock in query' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/util.rb:172:inretry_after’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api.rb:50:inquery' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/partners_api/organizations.rb:6:infetch_all’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/tasks/select_org_and_shop.rb:28:inorganizations' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/tasks/select_org_and_shop.rb:39:inget_organization’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/tasks/select_org_and_shop.rb:11:incall' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/task.rb:7:incall’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/project_types/node/forms/create.rb:13:inask' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/form.rb:13:inask’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/project_types/node/commands/create.rb:22:incall' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/sub_command.rb:13:incall’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/command.rb:19:incall' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:16:inblock (2 levels) in call’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:37:inblock (2 levels) in with_logging' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb:169:inwith_id’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:36:inblock in with_logging' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-ui/lib/cli/ui.rb:176:inlog_output_to’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:35:inwith_logging' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:15:inblock in call’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:45:inblock (2 levels) in with_traps' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:51:intwrap’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:44:inblock in with_traps' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:55:intwrap’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:43:inwith_traps' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/executor.rb:14:incall’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/core/executor.rb:15:incall' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/core/entry_point.rb:24:inblock in call’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/core/monorail.rb:20:inlog' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/lib/shopify-cli/core/entry_point.rb:23:incall’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/bin/shopify:33:inblock in <main>' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:75:inhandle_abort’
from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb:21:incall' from /home/alfred/.rvm/gems/ruby-2.6.8/gems/shopify-cli-2.1.0/bin/shopify:32:in’
my node version is :
[email removed] nvm current
v14.18.0
alfred@XXXXX-ALF-LT-VB1:~/proj$
I am getting exactly the same error when I installed Ruby version 3.0.0. and Shopify-Cli version 2.6.3
Have I missed out something else which I need to install in my local development environment?
Thanks in advance for your help!