pnpm : Unable to load file C:\Users\lenovo\AppData\Roaming\npm\pnpm.ps1

1. Right-click [Start] to open Windows PowerShell (Administrator)
2. Run the command set-ExecutionPolicy RemoteSigned
3. According to the prompt, enter A and press Enter.
At this time, the administrator authority can run pnpm.
If Hbuilder still reports this error,
continue to enter
4. Right-click [Start] to open Windows PowerShell (Administrator)
5. Run the command Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
6. According to the prompt, enter Y and press Enter
to solve the problem
insert image description here

おすすめ

転載: blog.csdn.net/qq_43840793/article/details/126622604