Shopify / shopify-cli

Shopify CLI helps you build against the Shopify platform faster.
https://shopify.dev/tools/cli
Other
1.01k stars 201 forks source link

[Bug]: NoMethodError: undefined method `[]' for nil:NilClass #2727

Closed Sky-bits closed 1 year ago

Sky-bits commented 1 year ago

Please confirm that you:

What type of project are you working on?

app

Expected behavior

theme app extension shoud be register

Actual behavior

it was not able to register

Stack trace

/var/lib/gems/2.7.0/gems/shopify-cli-2.25.0/lib/project_types/extension/extension_project.rb:134:in `extra_property_present?'
/var/lib/gems/2.7.0/gems/shopify-cli-2.25.0/lib/project_types/extension/extension_project.rb:96:in `registration_id?'
/var/lib/gems/2.7.0/gems/shopify-cli-2.25.0/lib/project_types/extension/extension_project.rb:78:in `registered?'
/var/lib/gems/2.7.0/gems/shopify-cli-2.25.0/lib/project_types/extension/commands/register.rb:10:in `block in call'
/var/lib/gems/2.7.0/gems/shopify-cli-2.25.0/vendor/deps/cli-ui/lib/cli/ui/frame.rb:103:in `open'

Reproduction steps

  1. Create new app
  2. create new theme app extension
  3. do the extension register 'shopify extension register'
  4. i am getting the Error

Operating System

x86_64-linux-gnu

CLI version (run shopify version if you're not sure)

2.25.0

Shell

/bin/bash

Ruby version (run ruby -v if you're not sure)

2.7.0p0

What language and version are you using in your application?

No response

github-actions[bot] commented 1 year ago

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.

→ If there's no activity within a week, then a bot will automatically close this.

Thanks for helping to improve Shopify's dev tooling and experience.