Cnpm: unable to load file

System search for PowerShell, right-click PowerShell to run as an administrator, and then enter the following command to execute,

set-ExecutionPolicy RemoteSigned

Then, select Y to complete the setup


Read More: