Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify Theme Pull Command error

Shopify Theme Pull Command error

Ahsan-ah-med
Shopify Partner
31 3 4

I'm trying this command, but my cmd terminal unfortunately shows lots of errors anyone can help me how I solve this issue 

 

── external error ──────────────────────────────────────────────────────────────

Error coming from `bundle install`

Command failed with exit code 5: bundle install
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Users/Ahsan/AppData/Local/shopify-gems-nodejs/Cache/ruby/3.2.0/gems/wdm-0.2.0/ext/wdm
C:/Ruby32-x64/bin/ruby.exe -I C:/Ruby32-x64/lib/ruby/3.2.0 extconf.rb
checking for -lkernel32... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/Ruby32-x64/bin/$(RUBY_BASE_NAME)
        --with-kernel32-dir
        --without-kernel32-dir
        --with-kernel32-include
        --without-kernel32-include=${kernel32-dir}/include
        --with-kernel32-lib
        --without-kernel32-lib=${kernel32-dir}/lib
        --with-kernel32lib
        --without-kernel32lib
C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:490:in `try_do': The compiler failed to
generate an executable file. (RuntimeError)
You have to install development tools first.

        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:583:in `try_link0'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:601:in `try_link'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:819:in `try_func'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:1062:in `block in have_library'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:989:in `block in checking_for'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:354:in `block (2 levels) in postpone'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:324:in `open'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:354:in `block in postpone'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:324:in `open'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:350:in `postpone'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:988:in `checking_for'
        from C:/Ruby32-x64/lib/ruby/3.2.0/mkmf.rb:1057:in `have_library'
        from extconf.rb:19:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can
be found here:

C:/Users/Ahsan/AppData/Local/shopify-gems-nodejs/Cache/ruby/3.2.0/extensions/x64-mingw-ucrt/3.2.0/wdm-0.2.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
C:/Users/Ahsan/AppData/Local/shopify-gems-nodejs/Cache/ruby/3.2.0/gems/wdm-0.2.0
for inspection.
Results logged to
C:/Users/Ahsan/AppData/Local/shopify-gems-nodejs/Cache/ruby/3.2.0/extensions/x64-mingw-ucrt/3.2.0/wdm-0.2.0/gem_make.out

  C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/ext/builder.rb:102:in `run'
  C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:28:in `build'
  C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/ext/builder.rb:170:in `build_extension'
C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/ext/builder.rb:204:in `block in
build_extensions'
  C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/ext/builder.rb:201:in `each'
  C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/ext/builder.rb:201:in `build_extensions'
  C:/Ruby32-x64/lib/ruby/3.2.0/rubygems/installer.rb:843:in `build_extensions'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/rubygems_gem_installer.rb:109:in
`build_extensions'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/source/rubygems.rb:205:in
`install'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/installer/gem_installer.rb:54:in
`install'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/installer/parallel_installer.rb:132:in
`do_install'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/installer/parallel_installer.rb:123:in
`block in worker_pool'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/worker.rb:62:in
`apply_func'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/worker.rb:57:in
`block in process_queue'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/worker.rb:54:in
`loop'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/worker.rb:54:in
`process_queue'
C:/Users/Ahsan/.local/share/gem/ruby/3.2.0/gems/bundler-2.5.17/lib/bundler/worker.rb:90:in
`block (2 levels) in create_threads'

An error occurred while installing wdm (0.2.0), and Bundler cannot continue.

In Gemfile:
  wdm
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Installing wdm 0.2.0 with native extensions

────────────────────────────────────────────────────────────────────────────────
Ahsan Ahmed
Shopify Developer | 2 Years of Experience
Shopify App Developer | 1 Year Experience
I'm Build Custom App for Client Requirements Using Shopify Functions, Shopify Checkout Ui Extensions, Remix App,
Transforming Websites into Shopify
 Converting Existing Websites (WooCommerce, Figma, Magento, etc.) to Shopify
️ Developing Custom Shopify Apps for Unique Client Needs
 Enhancing Shopify Functions with Checkout Extensions for Plus Users
Let's Build Your Dream Store Together!
Replies 0 (0)