--- title: 'How to Enable openSSL Legacy Mode' author: "Hun Im" date: 2024-10-30T14:26:25+09:00 category: ['POSTS'] tags: ['Javascript', 'Node.js'] og_image: "/images/gamer.png" keywords: ['Javascript', 'Node.js'] --- After upgrading Node.js, you may encounter errors when loading scripts. If youβre seeing openSSL errors, try enabling legacy mode as follows: ``` export NODE_OPTIONS=--openssl-legacy-provider "scripts": { "build": "NODE_OPTIONS=--openssl-legacy-provider webpack --mode production" } ```
Β
--- title: 'openSSL λ κ±°μλͺ¨λ νμ±ν λ°©λ²' author: "μν" date: 2024-10-30T14:26:25+09:00 category: ['POSTS'] tags: ['Javascript', 'Node.js'] og_image: "/images/gamer.png" keywords: ['Javascript', 'Node.js'] --- node.js λ²μ μ μ΄νμ, μ€ν¬λ¦½νΈλ₯Ό λΆλ¬μ¬ λ, μλ¬κ° λ° λκ° μλ€. openSSL μλ¬κ° λ λλ, λ κ±°μλͺ¨λλ₯Ό νμ±ν ν΄λ³΄μ. ``` export NODE_OPTIONS=--openssl-legacy-provider "scripts": { "build": "NODE_OPTIONS=--openssl-legacy-provider webpack --mode production" } ```