npm install time error

A few days ago from the Internet down to swing an open source project, initiated when there is a problem, the general solution is to rely deleted re-initialize it, but this time I removed the reliance on fossil regardless update node to no avail, it was Gaosi!

Later, I found no problem initializing cnpm

But at the time of installation cnpm there have been a problem, you can install the normal installation, but when in use and being given it

cnpm : 无法加载文件 C:\Users\ZM\AppData\Roaming\npm\cnpm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=1351 
70 中的 about_Execution_Policies

Find behind a lot of ways to find the most effective way to find the right open Windows PowerShell as an administrator, to change the execution policy in Windows PowerShell

Then to enter

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

After select A, and then return, again with like cnpm

Published 29 original articles · won praise 4 · views 40000 +

Guess you like

Origin blog.csdn.net/cccdf_jjj/article/details/104015500