[openstreetmap/openstreetmap-website] Asset was not declared to be precompiled in production errors (#2663)
Paul Norman
notifications at github.com
Wed Jun 24 05:55:22 UTC 2020
When running the installation steps in [INSTALL.md](https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md) I get errors on `bundle exec rake test:db`
```
rails test test/system/issues_test.rb:25
.......................................................................................................................................
......................................E
Error:
UserCreationTest#test_user_create_submit_duplicate_username:
ActionView::Template::Error: Asset `i18n/ba.js` was not declared to be precompiled in production.
Declare links to your assets in `app/assets/config/manifest.js`.
//= link i18n/ba.js
and restart your server
app/views/layouts/_head.html.erb:8
app/views/layouts/_head.html.erb:1
app/views/layouts/site.html.erb:3
app/controllers/users_controller.rb:247:in `create'
config/initializers/compressed_requests.rb:27:in `call'
config/initializers/cors.rb:9:in `call'
test/integration/user_creation_test.rb:66:in `block (4 levels) in test_user_create_submit_duplicate_username'
test/integration/user_creation_test.rb:65:in `block (3 levels) in test_user_create_submit_duplicate_username'
test/integration/user_creation_test.rb:64:in `block (2 levels) in test_user_create_submit_duplicate_username'
test/integration/user_creation_test.rb:63:in `block in test_user_create_submit_duplicate_username'
test/integration/user_creation_test.rb:60:in `each'
test/integration/user_creation_test.rb:60:in `test_user_create_submit_duplicate_username'
``
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2663
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200623/552bd2e4/attachment.htm>
More information about the rails-dev
mailing list