PHP中文网2017-05-16 13:32:14
The certificate verification of your npm source failed.
Possible reasons:
The npm source you are using does not support the default https protocol, or there is a problem with the https certificate.
The certificate store of your system has expired.
If you are using foreign sources, you will know about network problems.
Solution:
Replace npm source, you can choose domestic source
Use windows update to install win7 system patch (only for reason 2)
(you know)
Executenpm config set strict-ssl false
Skip npm’s certificate detection
淡淡烟草味2017-05-16 13:32:14
--Does global have this parameter? Shouldn't it be -g? Install globally