cnpm : 無法加載檔案 C:\Users\hp\AppData\Roaming\npm\cnpm.ps1,因為在此系統上禁止運作腳本。有關詳細資訊,請參閱 https:/go.microsoft.com/fwlink/?LinkID=135170 中的
about_Execution_Policies。
所在位置 行:1 字元: 1
cnpm install amfe-flexible
-
+ CategoryInfo : SecurityError: (:) [],PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
解決辦法:
以管理者身份運作power shell
按圖中黃色字型輸入,顯示結果一樣說明正确
