解决: 一:打开路径:C:\Windows\System32\WindowsPowerShell\v1.0,以管理员身份运行powershell.exe 二:键入Set-ExecutionPolicy RemoteSigned命令 三:键入y
查看版本:webpack -v ok!