新增问题解决方案
This commit is contained in:
parent
cb0aa22fb1
commit
16ea90f7d1
16
vue/issue.md
16
vue/issue.md
@ -4,9 +4,23 @@ Issue
|
|||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
### 取消阻止脚本以在不更改执行策略的情况下运行它
|
### 取消阻止脚本以在不更改执行策略的情况下运行它
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 管理员身份运行 PowerShell
|
# 管理员身份运行 PowerShell
|
||||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
|
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
|
||||||
|
|
||||||
# 然后输入 Y,回车
|
# 然后输入 Y,回车
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 解决 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
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user