Problem:
Hi all, I’m creating a custom plugin, following this documentation , I can clone the repo and the gem is installed successfully when run bundle install
, after restart foreman I get this error ActionView::Template::Error (Can't find entry point 'my:global' in webpack manifest):
and my Foreman it’s completely broken. I’m not sure if I’m missing a step, I followed all the steps in the documentation. Thank you in advance!
Expected outcome:
Foreman running normally and plugin added
Foreman and Proxy versions:
Foreman 3.6
Foreman and Proxy plugin versions:
Plugin template version requires_foreman ‘>= 2.4.0’
Distribution and version:
Ubuntu 20.04 Focal
Other relevant data:
Logs:
d78c1280 | ActionView::Template::Error (Can't find entry point 'my_plugin:global' in webpack manifest):
d78c1280 | 13: <%= stylesheet_link_tag *webpack_asset_paths('foreman-vendor', :extension => 'css') %>
d78c1280 | 14: <%= stylesheet_link_tag *webpack_asset_paths('bundle', :extension => 'css') %>
d78c1280 | 15: <%= stylesheet_link_tag 'application' %>
d78c1280 | 16: <%= webpacked_plugins_with_global_css %>
d78c1280 | 17: <%= yield(:stylesheets) %>
d78c1280 | 18:
d78c1280 | 19: <%= csrf_meta_tags %>
d78c1280 |
d78c1280 | app/helpers/reactjs_helper.rb:57:in `block (2 levels) in global_css_tags'
d78c1280 | app/helpers/reactjs_helper.rb:56:in `map'
d78c1280 | app/helpers/reactjs_helper.rb:56:in `block in global_css_tags'
d78c1280 | app/helpers/reactjs_helper.rb:55:in `map'
d78c1280 | app/helpers/reactjs_helper.rb:55:in `global_css_tags'
d78c1280 | app/helpers/reactjs_helper.rb:15:in `webpacked_plugins_with_global_css'
d78c1280 | app/views/layouts/base.html.erb:16
d78c1280 | app/views/layouts/application.html.erb:5
d78c1280 | app/controllers/application_controller.rb:353:in `generic_exception'