在國(guó)外怎么做網(wǎng)站服務(wù)營(yíng)銷
使用 npm install 初始化前端項(xiàng)目時(shí),會(huì)出現(xiàn)卡住不動(dòng)的情況。原因是淘寶鏡像源由原來的https://registry.npm.taobao.org 更換為下面這個(gè):
https://registry.npmmirror.com
直接在終端執(zhí)行下面的指令即可:
npm config set registry https://registry.npmmirror.com
如果還是出現(xiàn) npm報(bào)錯(cuò):request to https://registry.npm.taobao.org failed, reason certificate has expired,可參考鏈接再次嘗試即可vue npm導(dǎo)入項(xiàng)目出現(xiàn) request to https://registry.npm.taobao.org failed, reason certificate has expired-CSDN博客
本文為學(xué)習(xí)筆記,所參考文章均已附上鏈接,若有疑問請(qǐng)私信!
創(chuàng)作不易,如果對(duì)你有點(diǎn)幫助的話麻煩點(diǎn)個(gè)贊支持一下!
新手小白,歡迎留言指正!