Upgrade to node 17 which requires a --openssl-legacy-provider option

Node 17 moved to OpenSSL3, see https://nodejs.org/en/blog/release/v17.0.0/#openssl-3-0 for more.
This commit is contained in:
Jean-Baptiste Bellet
2023-02-09 11:16:47 +01:00
parent ac639fa283
commit 9f2a17c3e9
3 changed files with 3 additions and 1 deletions

View File

@@ -1 +1 @@
16.19.0
17.0.0

View File

@@ -2,6 +2,7 @@
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
ENV["NODE_ENV"] ||= "development"
ENV["NODE_OPTIONS"] ||= "--openssl-legacy-provider"
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",

View File

@@ -2,6 +2,7 @@
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
ENV["NODE_ENV"] ||= "development"
ENV["NODE_OPTIONS"] ||= "--openssl-legacy-provider"
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",