search

Home  >  Q&A  >  body text

javascript - npm installation error, system w7, please give me an answer

大家讲道理大家讲道理2750 days ago464

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 13:32:14

    The certificate verification of your npm source failed.

    Possible reasons:

    1. The npm source you are using does not support the default https protocol, or there is a problem with the https certificate.

    2. The certificate store of your system has expired.

    3. If you are using foreign sources, you will know about network problems.

    Solution:

    1. Replace npm source, you can choose domestic source

    2. Use windows update to install win7 system patch (only for reason 2)

    3. (you know)

    4. Executenpm config set strict-ssl false Skip npm’s certificate detection

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 13:32:14

    --Does global have this parameter? Shouldn't it be -g? Install globally

    reply
    0
  • Cancelreply