From b49e209b3e957e9c02139c06f0dfecac05415119 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 27 Jul 2021 19:14:43 +0100 Subject: [PATCH 1/1] Revert "Use --ignore-engines when installing node modules with yarn" This reverts commit c95478046eb46f37cd94e7459d4e8adf1d70b7c7. --- cookbooks/web/resources/rails_port.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 564cbd0ad..16fde7131 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -407,7 +407,7 @@ action :create do execute "#{rails_directory}/package.json" do action :nothing - command "yarnpkg install --ignore-engines" + command "bundle#{new_resource.ruby} exec rake yarn:install" environment "HOME" => rails_directory, "RAILS_ENV" => "production" cwd rails_directory -- 2.45.2