From 47fdf2ff6b98997a67feb927e844c7ab1c68a75a Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Tue, 26 May 2020 09:58:35 +0200 Subject: [PATCH] Run yarn:install after installing webpacker in install generator Without doing this, the app will not find Alchemy's webpack packs. --- lib/generators/alchemy/install/install_generator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/generators/alchemy/install/install_generator.rb b/lib/generators/alchemy/install/install_generator.rb index 681ec5b143..0a51618f44 100644 --- a/lib/generators/alchemy/install/install_generator.rb +++ b/lib/generators/alchemy/install/install_generator.rb @@ -63,6 +63,7 @@ def install_gutentag_migrations def run_webpacker_installer unless options[:skip_webpacker_installer] rake("webpacker:install", abort_on_failure: true) + rake("yarn:install") end end