Skip to content
ohsudo, Home

Tags

#npm

npm error EACCES
Linux

npm "EACCES: permission denied": fix it without sudo

Fix npm EACCES permission denied on global installs and in projects: use a version manager or your own prefix, repair root-owned files, and avoid sudo.

Beginner · 3 min read

running scripts is disabled
Windows

PowerShell "running scripts is disabled on this system": fix the execution policy safely

Fix PowerShell "cannot be loaded because running scripts is disabled": check the execution policy, use RemoteSigned for your user, and unblock downloaded scripts.

Beginner · 3 min read