# Pre compilation error version 3.0.4

**URL:** https://meta.discourse.org/t/pre-compilation-error-version-3-0-4/268914
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [June 19, 2023, 3:27pm UTC](https://meta.discourse.org/t/pre-compilation-error-version-3-0-4/268914 "2023-06-19T15:27:52Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![mdhont](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mdhont/32/312227_2.png) [@mdhont](https://meta.discourse.org/u/mdhont)
#### Post date: [June 19, 2023, 3:27pm UTC](https://meta.discourse.org/t/pre-compilation-error-version-3-0-4/268914/1 "2023-06-19T15:27:52Z")

</div>

It seems in version 3.0.4 asset pre-compilation is broken due to a syntax error. When trying to precompile the assets I get this error:

```plaintext
RAILS_ENV=production SKIP_DB_AND_REDIS=1 DONT_PRECOMPILE_CSS=1 bundle exec rake --trace assets:precompile

rake aborted!
SyntaxError: /opt/bitnami/discourse/lib/file_store/base_store.rb:96: syntax error, unexpected ','
      download(*, **, print_deprecation: false)
                ^
/opt/bitnami/discourse/lib/file_store/base_store.rb:102: syntax error, unexpected ','
      download(*, **, print_deprecation: false)

```

In [this](https://github.com/discourse/discourse/blob/21c80f5993afef8522cadd460d39ecfb363b3868/lib/file_store/base_store.rb#L94) part of the code when changing the asterisks with normal strings it works correctly:

```plaintext
    # TODO: Remove when #download becomes the canonical safe version.
    def download_safe(arg1, arg2)
      download(arg1, arg2, print_deprecation: false)
    rescue StandardError
      nil
    end

```

---

_[View the full topic](https://meta.discourse.org/t/pre-compilation-error-version-3-0-4/268914)._
