[openstreetmap/openstreetmap-website] couldn't find file 'i18n/embed' with type 'application/javascript' (#2016)

alsaleem00 notifications at github.com
Fri Oct 5 23:10:47 UTC 2018


I am installing the openstreetmap website on a local ubuntu 16.04 vm.
I followed all instructions (fixed many dependencies) and passed all the steps up to the test stage, where I get this error (10's of it!).
Did I miss any pre-requesites or installation requirement?

> Error:
UserBlocksTest#test_api_revoke:
ActionView::Template::Error: couldn't find file 'i18n/embed' with type 'application/javascript'
Checked in these paths: 
  /home/osm/openstreetmap-website/app/assets/favicons
  /home/osm/openstreetmap-website/app/assets/images
  /home/osm/openstreetmap-website/app/assets/javascripts
  /home/osm/openstreetmap-website/app/assets/opensearch
  /home/osm/openstreetmap-website/app/assets/stylesheets
  /home/osm/openstreetmap-website/vendor/assets/augment.js
  /home/osm/openstreetmap-website/vendor/assets/bootstrap
  /home/osm/openstreetmap-website/vendor/assets/iD
  /home/osm/openstreetmap-website/vendor/assets/javascripts
  /home/osm/openstreetmap-website/vendor/assets/jquery
  /home/osm/openstreetmap-website/vendor/assets/leaflet
  /home/osm/openstreetmap-website/vendor/assets/ohauth
  /home/osm/openstreetmap-website/vendor/assets/openlayers
  /home/osm/openstreetmap-website/vendor/assets/potlatch2
  /home/osm/openstreetmap-website/vendor/assets/swfobject
  /var/lib/gems/2.3.0/gems/i18n-js-3.0.11/app/assets/javascripts
  /var/lib/gems/2.3.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
  /var/lib/gems/2.3.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
  /var/lib/gems/2.3.0/gems/actioncable-5.2.0/lib/assets/compiled
  /var/lib/gems/2.3.0/gems/activestorage-5.2.0/app/assets/javascripts
  /var/lib/gems/2.3.0/gems/actionview-5.2.0/lib/assets/compiled
  /home/osm/openstreetmap-website/config
    app/assets/javascripts/embed.js.erb:4
    app/views/users/login.html.erb:2:in `block in _app_views_users_login_html_erb__901722931127960965_129601120'
    app/views/users/login.html.erb:1:in `_app_views_users_login_html_erb__901722931127960965_129601120'
    config/initializers/cors.rb:9:in `call'
    config/initializers/compressed_requests.rb:27:in `call'
    test/integration/user_blocks_test.rb:42:in `test_api_revoke'



-- 
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/2016
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181005/f9ab2c68/attachment.html>


More information about the rails-dev mailing list