Webpacker::Manifest::MissingEntryError in Cars#index


#1

Hi guys,

I’m working on the first Ruby on Rails application in Web Development 101 and I seem to have run into some problems. I’m including a screenshot of the error message. I’ve been Googling around to see if I can resolve things, but nothing seems to work. Help would be much appreciated. :sleepy:


#2

Open routes.rb and make it match the example below:

Rails.application.routes.draw do
root ‘cars#index’
resources :cars
end


#3

Hi, thanks for replying. Unfortunately, it’s still not working. I’m getting the same error. Here’s the full trace:

webpacker (4.0.7) lib/webpacker/manifest.rb:79:in handle_missing_entry' webpacker (4.0.7) lib/webpacker/manifest.rb:49:inlookup!’
webpacker (4.0.7) lib/webpacker/helper.rb:137:in block in sources_from_manifest_entries' webpacker (4.0.7) lib/webpacker/helper.rb:137:inmap’
webpacker (4.0.7) lib/webpacker/helper.rb:137:in sources_from_manifest_entries' webpacker (4.0.7) lib/webpacker/helper.rb:62:injavascript_pack_tag’
app/views/layouts/application.html.erb:9
actionview (6.0.0) lib/action_view/base.rb:274:in _run' actionview (6.0.0) lib/action_view/template.rb:185:inblock in render’
activesupport (6.0.0) lib/active_support/notifications.rb:182:in instrument' actionview (6.0.0) lib/action_view/template.rb:386:ininstrument_render_template’
actionview (6.0.0) lib/action_view/template.rb:183:in render' actionview (6.0.0) lib/action_view/renderer/template_renderer.rb:70:inrender_with_layout’
actionview (6.0.0) lib/action_view/renderer/template_renderer.rb:57:in render_template' actionview (6.0.0) lib/action_view/renderer/template_renderer.rb:13:inrender’
actionview (6.0.0) lib/action_view/renderer/renderer.rb:61:in render_template_to_object' actionview (6.0.0) lib/action_view/renderer/renderer.rb:29:inrender_to_object’
actionview (6.0.0) lib/action_view/rendering.rb:118:in block in _render_template' actionview (6.0.0) lib/action_view/base.rb:304:inin_rendering_context’
actionview (6.0.0) lib/action_view/rendering.rb:117:in _render_template' actionpack (6.0.0) lib/action_controller/metal/streaming.rb:219:in_render_template’
actionview (6.0.0) lib/action_view/rendering.rb:103:in render_to_body' actionpack (6.0.0) lib/action_controller/metal/rendering.rb:52:inrender_to_body’
actionpack (6.0.0) lib/action_controller/metal/renderers.rb:142:in render_to_body' actionpack (6.0.0) lib/abstract_controller/rendering.rb:25:inrender’
actionpack (6.0.0) lib/action_controller/metal/rendering.rb:36:in render' actionpack (6.0.0) lib/action_controller/metal/instrumentation.rb:44:inblock (2 levels) in render’
activesupport (6.0.0) lib/active_support/core_ext/benchmark.rb:14:in block in ms' /home/shahinbayvari/.rbenv/versions/2.6.3/lib/ruby/2.6.0/benchmark.rb:308:inrealtime’
activesupport (6.0.0) lib/active_support/core_ext/benchmark.rb:14:in ms' actionpack (6.0.0) lib/action_controller/metal/instrumentation.rb:44:inblock in render’
actionpack (6.0.0) lib/action_controller/metal/instrumentation.rb:85:in cleanup_view_runtime' activerecord (6.0.0) lib/active_record/railties/controller_runtime.rb:34:incleanup_view_runtime’
actionpack (6.0.0) lib/action_controller/metal/instrumentation.rb:43:in render' actionpack (6.0.0) lib/action_controller/metal/implicit_render.rb:35:indefault_render’
actionpack (6.0.0) lib/action_controller/metal/basic_implicit_render.rb:6:in block in send_action' actionpack (6.0.0) lib/action_controller/metal/basic_implicit_render.rb:6:intap’
actionpack (6.0.0) lib/action_controller/metal/basic_implicit_render.rb:6:in send_action' actionpack (6.0.0) lib/abstract_controller/base.rb:196:inprocess_action’
actionpack (6.0.0) lib/action_controller/metal/rendering.rb:30:in process_action' actionpack (6.0.0) lib/abstract_controller/callbacks.rb:42:inblock in process_action’
activesupport (6.0.0) lib/active_support/callbacks.rb:135:in run_callbacks' actionpack (6.0.0) lib/abstract_controller/callbacks.rb:41:inprocess_action’
actionpack (6.0.0) lib/action_controller/metal/rescue.rb:22:in process_action' actionpack (6.0.0) lib/action_controller/metal/instrumentation.rb:33:inblock in process_action’
activesupport (6.0.0) lib/active_support/notifications.rb:180:in block in instrument' activesupport (6.0.0) lib/active_support/notifications/instrumenter.rb:24:ininstrument’
activesupport (6.0.0) lib/active_support/notifications.rb:180:in instrument' actionpack (6.0.0) lib/action_controller/metal/instrumentation.rb:32:inprocess_action’
actionpack (6.0.0) lib/action_controller/metal/params_wrapper.rb:245:in process_action' activerecord (6.0.0) lib/active_record/railties/controller_runtime.rb:27:inprocess_action’
actionpack (6.0.0) lib/abstract_controller/base.rb:136:in process' actionview (6.0.0) lib/action_view/rendering.rb:39:inprocess’
actionpack (6.0.0) lib/action_controller/metal.rb:191:in dispatch' actionpack (6.0.0) lib/action_controller/metal.rb:252:indispatch’
actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:51:in dispatch' actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:33:inserve’
actionpack (6.0.0) lib/action_dispatch/journey/router.rb:49:in block in serve' actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:ineach’
actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:in serve' actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:837:incall’
rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in call' rack (2.0.7) lib/rack/etag.rb:25:incall’
rack (2.0.7) lib/rack/conditional_get.rb:25:in call' rack (2.0.7) lib/rack/head.rb:12:incall’
actionpack (6.0.0) lib/action_dispatch/http/content_security_policy.rb:18:in call' rack (2.0.7) lib/rack/session/abstract/id.rb:232:incontext’
rack (2.0.7) lib/rack/session/abstract/id.rb:226:in call' actionpack (6.0.0) lib/action_dispatch/middleware/cookies.rb:648:incall’
activerecord (6.0.0) lib/active_record/migration.rb:567:in call' actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:27:inblock in call’
activesupport (6.0.0) lib/active_support/callbacks.rb:101:in run_callbacks' actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:26:incall’
actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in call' actionpack (6.0.0) lib/action_dispatch/middleware/actionable_exceptions.rb:17:incall’
actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:32:in call' web-console (4.0.1) lib/web_console/middleware.rb:132:incall_app’
web-console (4.0.1) lib/web_console/middleware.rb:28:in block in call' web-console (4.0.1) lib/web_console/middleware.rb:17:incatch’
web-console (4.0.1) lib/web_console/middleware.rb:17:in call' actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:incall’
railties (6.0.0) lib/rails/rack/logger.rb:38:in call_app' railties (6.0.0) lib/rails/rack/logger.rb:26:inblock in call’
activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in block in tagged' activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:intagged’
activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in tagged' railties (6.0.0) lib/rails/rack/logger.rb:26:incall’
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in call' actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:incall’
actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in call' rack (2.0.7) lib/rack/method_override.rb:22:incall’
rack (2.0.7) lib/rack/runtime.rb:22:in call' activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:incall’
actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in call' actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:incall’
rack (2.0.7) lib/rack/sendfile.rb:111:in call' actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:incall’
webpacker (4.0.7) lib/webpacker/dev_server_proxy.rb:29:in perform_request' rack-proxy (0.6.5) lib/rack/proxy.rb:57:incall’
railties (6.0.0) lib/rails/engine.rb:526:in call' puma (3.12.1) lib/puma/configuration.rb:227:incall’
puma (3.12.1) lib/puma/server.rb:660:in handle_request' puma (3.12.1) lib/puma/server.rb:474:inprocess_client’
puma (3.12.1) lib/puma/server.rb:334:in block in run' puma (3.12.1) lib/puma/thread_pool.rb:135:inblock in spawn_thread’


#4

It seems there was a Rails update which screwed up the TOP tutorial, causing all sorts of problems. This could be one of them, so I’m going to wait until the tutorial gets amended and start over :slight_smile: