You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default powershell execution policy is set to Restricted on Windows. So when our Windows developers trying to use yarn 4 on their machines with corepack enabled it's common to have the following error: yarn: File C:\Program Files\nodejs\yarn.ps1 cannot be loaded because running scripts is disabled on this system
Self-service
Describe the bug
By default powershell execution policy is set to Restricted on Windows. So when our Windows developers trying to use yarn 4 on their machines with
corepack enabled
it's common to have the following error:yarn: File C:\Program Files\nodejs\yarn.ps1 cannot be loaded because running scripts is disabled on this system
This is probably related to nodejs/corepack#213
To reproduce
corepack enable
- it will may also fail because of insufficient permissionsyarn
- receive the errorEnvironment
Additional context
No response
The text was updated successfully, but these errors were encountered: