From 16ea90f7d18f6d7e7a65ee2537d5599611e76d94 Mon Sep 17 00:00:00 2001 From: mick Date: Thu, 12 Dec 2024 11:06:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=97=AE=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E6=96=B9=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/issue.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/vue/issue.md b/vue/issue.md index 050f1bc..7bc0419 100644 --- a/vue/issue.md +++ b/vue/issue.md @@ -4,9 +4,23 @@ Issue ### 取消阻止脚本以在不更改执行策略的情况下运行它 + ```bash # 管理员身份运行 PowerShell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine # 然后输入 Y,回车 -``` \ No newline at end of file +``` + +### 解决 Error: error:0308010C:digital envelope routines::unsupported 错误 + +```bash +# 1 降低 node 版本至 17 以下 + +# 2 执行命令 +# Windows 下 +set NODE_OPTIONS=--openssl-legacy-provider + +# Linux 下 +export NODE_OPTIONS=--openssl-legacy-provider +```