dev-aid/vue/issue.md
2024-12-12 11:06:17 +08:00

525 B
Raw Blame History

Issue

问题解决方法

取消阻止脚本以在不更改执行策略的情况下运行它

# 管理员身份运行 PowerShell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

# 然后输入 Y回车

解决 Error: error:0308010C:digital envelope routines::unsupported 错误

# 1 降低 node 版本至 17 以下

# 2 执行命令
# Windows 下
set NODE_OPTIONS=--openssl-legacy-provider

# Linux 下
export NODE_OPTIONS=--openssl-legacy-provider