美文网首页
vue 运行错误总结

vue 运行错误总结

作者: 艾希_可可 | 来源:发表于2018-10-15 14:27 被阅读12次

    1、遇到A complete log of this run can be found in:

    解决:1、npm install npm -g;
                2、npm install --save node-sass --registry=ry=[https://registry.npm.taobao.org](https://registry.npm.taobao.org) --d --disturl=rl=[https://npm.taobao.org/dist](https://npm.taobao.org/dist) --s --sass-binary-site=te=[http://npm.taobao.org/mirrors/node-sass](http://npm.taobao.org/mirrors/node-sass)
                3、cnpm install node-sass@latest
    

    2、重新安装node-sass

    npm uninstall node-sass -D
    
    npm install node-sass -D
    

    3、遇到这种code ECONNRESET
    npm ERR! network tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:1080
    If you are behind a proxy, please make sure that the
    npm ERR! network 'proxy' config is set properly. See: 'npm help config'

    1、npm config set proxy null
    2、nom install
    

    相关文章

      网友评论

          本文标题:vue 运行错误总结

          本文链接:https://www.haomeiwen.com/subject/gbefzftx.html