From 5947ac19916fc2431ab36f2a27436ac025db8f2e Mon Sep 17 00:00:00 2001 From: "joseph@dxw.com" Date: Thu, 7 Nov 2024 18:08:08 +0000 Subject: [PATCH] Fix Node SSL issue Assets cannot be compiled due to an issue caused by using @rails/webpacker which is no longer supported. Replacing it is a lot of work, so this is a short term fix. The change in this commit affects local development. The equivalent fix in production is to add a Heroku config var: `NODE_OPTIONS="--openssl-legacy-provider"` --- .npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..03450f7 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +node-options="--openssl-legacy-provider" \ No newline at end of file