# Theme/component installation error

**URL:** https://meta.discourse.org/t/theme-component-installation-error/217194
**Category:** Development
**Created:** [February 5, 2022, 1:44pm UTC](https://meta.discourse.org/t/theme-component-installation-error/217194 "2022-02-05T13:44:55Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [February 5, 2022, 1:44pm UTC](https://meta.discourse.org/t/theme-component-installation-error/217194/1 "2022-02-05T13:44:55Z")

</div>

Hi, I’m developing a theme component for a project and created a GitHub repo for it, but when I try to install it (or any other remote theme/component) in my local development instance, I just get a 500 error. This is what I’m seeing in the log, but I’m not sure how to debug further?

```plaintext
Completed 500 Internal Server Error in 780ms (ActiveRecord: 1.6ms | Allocations: 61496)

Errno::ENOENT (No such file or directory - timeout)
lib/discourse.rb:150:in `execute_command'
lib/discourse.rb:127:in `exec'
lib/discourse.rb:34:in `execute_command'
lib/theme_store/git_importer.rb:121:in `execute'
lib/theme_store/git_importer.rb:54:in `version'
app/models/remote_theme.rb:193:in `update_from_remote'
app/models/remote_theme.rb:93:in `import_theme'
app/controllers/admin/themes_controller.rb:104:in `import'
app/controllers/application_controller.rb:387:in `block in with_resolved_locale'
app/controllers/application_controller.rb:387:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/missing_avatars.rb:23:in `call'
lib/middleware/turbo_dev.rb:34:in `call'
  Rendering /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
  Rendering /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb
  Rendered /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/_source.text.erb (Duration: 0.4ms | Allocations: 441)
  Rendering /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
  Rendered /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (Duration: 0.4ms | Allocations: 286)
  Rendering /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb
  Rendered /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (Duration: 0.3ms | Allocations: 332)
  Rendered /opt/homebrew/lib/ruby/gems/2.7.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (Duration: 15.6ms | Allocations: 7673)

```

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 5, 2022, 9:39pm UTC](https://meta.discourse.org/t/theme-component-installation-error/217194/2 "2022-02-05T21:39:28Z")

</div>

Have you tried the [Beginners’ guide to using Theme Creator and Theme CLI to start building a Discourse theme](https://meta.discourse.org/t/beginners-guide-to-using-theme-creator-and-theme-cli-to-start-building-a-discourse-theme/108444). Does it work that way?

---

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [February 5, 2022, 11:13pm UTC](https://meta.discourse.org/t/theme-component-installation-error/217194/3 "2022-02-05T23:13:56Z")

</div>

D’oh! 🤦🏾‍♂️ Thanks, Jay! I already had the Theme CLI installed, I’d just forgotten about it. That works fine.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 6, 2022, 12:58am UTC](https://meta.discourse.org/t/theme-component-installation-error/217194/4 "2022-02-06T00:58:55Z")

</div>

Well, then you’ve got the theme part right.

Is it in a public repo? Maybe that’s the part you’ve got wrong.

---

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [February 6, 2022, 5:41pm UTC](https://meta.discourse.org/t/theme-component-installation-error/217194/5 "2022-02-06T17:41:24Z")

</div>

Yes, it’s in a public repo, but I get the same error even when I try to install official themes and components. I’d love to figure it out though, as I’m working on two components, so plus the two needed for Discourse itself, that means I need to run a total of four terminals for each session 😬

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 7, 2022, 11:52pm UTC](https://meta.discourse.org/t/theme-component-installation-error/217194/6 "2022-02-07T23:52:11Z")

</div>

> [@Genyus](#):
>
> I get the same error even when I try to install official themes and components

Are you behind some kind of firewall or some strange network?

---

<div class="post-metadata">

### Author: ![Genyus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genyus/32/119655_2.png) [@Genyus](https://meta.discourse.org/u/Genyus)
#### Post date: [February 8, 2022, 1:05am UTC](https://meta.discourse.org/t/theme-component-installation-error/217194/7 "2022-02-08T01:05:13Z")

</div>

No, just a regular home broadband connection and wifi network, no estoric network configuration.
