问题描述 执行vue init webpack时报错 解决方案 1. Windows+R 2. 输入PowerShell 3. 运行 Set-ExecutionPolicy -Scope CurrentUser 4. 出现ExecutionPolicy: ,填入RemoteSigned 5. 关闭PowerShel ,然后执行get-ExecutionPolicy,发现变成了RemoteSigned,就成功了