-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
When logging into the admin dashboard on master I get the following exception raised:
ActionView::Template::Error (Webpacker can't find dashboard.js in /Users/kevinprice/porta/public/packs/manifest.json. Possible causes: 1. You want to set webpacker.yml value of compile to true for your environment unless you are using the `webpack -w` or the webpack-dev-server. 2. webpack has not yet re-run to reflect updates. 3. You have misconfigured Webpacker's config/webpacker.yml file. 4. Your webpack configuration is not creating a manifest. Your manifest contains: { } ): 2: = stylesheet_link_tag 'vendor/c3' 3: 4: = content_for :javascripts do 5: = javascript_pack_tag 'dashboard' 6: 7: .Dashboard 8: div.Dashboard-widgets app/views/provider/admin/dashboards/show.html.slim:5:in `block in _app_views_provider_admin_dashboards_show_html_slim___4492585489674507786_70300100313460' app/views/provider/admin/dashboards/show.html.slim:4:in `_app_views_provider_admin_dashboards_show_html_slim___4492585489674507786_70300100313460' lib/three_scale/middleware/dev_domain.rb:25:in `call' lib/three_scale/middleware/dev_domain.rb:25:in `call' lib/three_scale/middleware/multitenant.rb:116:in `_call' lib/three_scale/middleware/multitenant.rb:111:in `call' Rendered /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (45.6ms) Rendered /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (14.8ms) Rendered /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (306.9ms)
I've tried running the rake task that I'd expect to resolve this issue:
bundle exec rake webpack:compile
I get the following error though.
sh: line 1: 19184 Abort trap: 6 indexer 2>&1 /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/webpacker-3.3.1/lib/webpacker/webpack_runner.rb:11:in `exec': No such file or directory - /Users/kevinprice/porta/node_modules/.bin/webpack (Errno::ENOENT) from /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/webpacker-3.3.1/lib/webpacker/webpack_runner.rb:11:in `block in run' from /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/webpacker-3.3.1/lib/webpacker/webpack_runner.rb:10:in `chdir' from /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/webpacker-3.3.1/lib/webpacker/webpack_runner.rb:10:in `run' from /Users/kevinprice/.rvm/gems/ruby-2.3.6/gems/webpacker-3.3.1/lib/webpacker/runner.rb:6:in `run' from ./bin/webpack:15:in `<main>'