錯誤信息:
npm : 無法加載文件,因為在此系統上禁止運行腳本。有關詳細信息,請參閱 https:/go.microsoft.com/fwlink/?LinkID =135170 中的 about_Execution_Policies。 所在位置 行:1 字符: 1 + npm install + ~~~ + CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
解決方法:
管理員模式打開Window PowerShell,輸入指令:
set-ExecutionPolicy RemoteSigned
回車后輸入a即可