最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

安裝vue-cli報錯 -4058 的解決方法

 更新時間:2017年10月19日 10:27:29   作者:滿損謙益  
這篇文章主要介紹了安裝vue-cli報錯 -4058 的解決方法,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧

本人在安裝vue腳手架時報這樣的錯,我訪問了漫山遍野還是沒找到答案,有人叫我用cnpm安裝,但是cnpm安裝的vue有好多坑在里面:

npm WARN checkPermissions Missing write access to C:\Users\liuyg\AppData\Roaming\npm\node_modules\vue-cli\node_modules\cliui\node_modules\wordwrap
npm ERR! path C:\Users\liuyg\AppData\Roaming\npm\node_modules\vue-cli\node_modules\cliui\node_modules\wordwrap
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'C:\Users\liuyg\AppData\Roaming\npm\node_modules\vue-cli\node_modules\cliui\node_modules\wordwrap'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!   C:\Users\liuyg\AppData\Roaming\npm-cache\_logs\2017-10-18T14_34_23_721Z-debug.log


于是我在繼續(xù)翻貼發(fā)紅包,終于找到解決方案了,貌似是網(wǎng)絡代理問題。

換一個npm安裝源就好了,具體方法如下:

1.通過config命令

npm config set registry https://registry.npm.taobao.org

npm info underscore (如果上面配置正確這個命令會有字符串response)


2.命令行指定

npm --registry https://registry.npm.taobao.org info underscore

然后再安裝就好了


以上就是本文的全部內(nèi)容,希望對大家的學習有所幫助,也希望大家多多支持腳本之家。

相關文章

最新評論

郸城县| 东丽区| 馆陶县| 武定县| 天镇县| 龙门县| 石楼县| 客服| 金山区| 乐昌市| 兴山县| 武平县| 镶黄旗| 平山县| 仁寿县| 宝清县| 黑山县| 肥东县| 肥西县| 浏阳市| 无锡市| 连南| 来安县| 车致| 衡水市| 湄潭县| 泸州市| 图木舒克市| 二连浩特市| 沙湾县| 铁岭县| 怀远县| 和硕县| 惠州市| 九寨沟县| 宿迁市| 秦安县| 民权县| 平顶山市| 贵南县| 高阳县|