An error is reported after executing yarn install:
Unable to load file C:\Users\Administrator\AppData\Roaming\npm\yarn.ps1, because script execution is prohibited in this system.
Solution:
Runs PowerShell as administrator (Win7 location: C:\Windows\System32\WindowsPowerShell\v1.0)
Execution: set-ExecutionPolicy RemoteSigned
Similar Posts:
- [Solved] yarn: Unable to load the File C:\Users\Administrator\AppData\Roaming\npm\yarn.ps1, Because running scripts is prohibited on this system.
- Error when opening windows PowerShell modules
- [Solved] TSC Compile TS File Error: TSC: the file cannot be loaded because running scripts is prohibited on this system;
- Gulp Serve Error: gulp.ps1 [How to Solve]
- [Solved] Vue : The file D:\Program Files\nodejs\node_global\vue.ps1 could not be loaded, because running scripts is disabled on this system.
- [Solved] Error reporting of NPM packaged electron app
- [Solved] PowerShell Error: the script is prohibited from running on this system
- Solve the problem that vs code cannot run the script
- [Solved] NPM installation Vue scaffold error: npm ERR! Unexpected end of JSON input while parsing near…
- [Solved] Tensorflow:ImportError: DLL load failed: The specified module cannot be found Failed to load the native TensorFlow runtime