npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY

前端 未结 10 1376
心在旅途
心在旅途 2020-12-07 07:50

I am trying all the ways of creating react application. I have tried with maven and now i am trying with crate-react-app build system from Facebook Incubators.

When

10条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-07 08:39

    A quick solution from the internet search was npm config set strict-ssl false, luckily it worked. But as a part of my work environment, I am restricted to set the strict-ssl flag to false.

    Later I found a safe and working solution,

    npm config set registry http://registry.npmjs.org/  
    

    this worked perfectly and I got a success message Happy Hacking! by not setting the strict-ssl flag to false.

提交回复
热议问题