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 +```