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 init' not working

'shopify theme init' not working

Si-AC
Shopify Partner
3 0 0

Just starting out with theme development and the shopify cli is throwing the following error after trying to run the 'shopify theme init' command. Any help that can be offered to try and resolve this would be hugely appreciated.

 

Environment details: Windows 11  |  ruby 3.0.3  |  node 16.13.2  |  git 2.35.1

 

C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:221:in `spawn': No such file or directory - node (Errno::ENOENT)
from C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:221:in `popen_run'
from C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:102:in `popen3'
from C:/Ruby30-x64/lib/ruby/3.0.0/open3.rb:289:in `capture3'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/vendor/deps/cli-kit/lib/cli/kit/system.rb:199:in `delegate_open3'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/vendor/deps/cli-kit/lib/cli/kit/system.rb:90:in `capture3'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/lib/shopify_cli/context.rb:557:in `capture3'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/lib/shopify_cli/environment.rb:17:in `node_version'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/lib/shopify_cli/command.rb:104:in `check_node_version'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/lib/shopify_cli/command/sub_command.rb:13:in `call'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/lib/shopify_cli/command.rb:27:in `call'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/lib/shopify_cli/core/executor.rb:17:in `block (2 levels) in call'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.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.11.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.11.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.11.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.11.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.11.0/lib/shopify_cli/core/executor.rb:16:in `block in call'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.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.11.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.11.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.11.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.11.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.11.0/lib/shopify_cli/core/executor.rb:15:in `call'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.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.11.0/lib/shopify_cli/core/monorail.rb:30:in `log'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.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.11.0/bin/shopify:37:in `block (2 levels) in <top (required)>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.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.11.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.11.0/bin/shopify:36:in `block in <top (required)>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/shopify-cli-2.11.0/bin/shopify:47:in `<top (required)>'
from C:/Ruby30-x64/bin/shopify:25:in `load'
from C:/Ruby30-x64/bin/shopify:25:in `<main>'

Replies 0 (0)