• VUE项目问题


    1. 问题描述

        <1> 问题:从SVN上down下来的VUE项目,本地webstorm启动出现以下问题

              

             原因分析:webstorm自动使用npm install命令运行,但是node_modules里面有未安装的依赖,需要忽略该依赖;

             解决方案:        

    <1> 删除项目根路径下的 node_modules 文件夹 
    <2> 在项目根路径下执行 cnpm install
    <3> <2>执行完后,执行 npm run dev
    
        npm install VS cnpm install 
    参考: https://blog.csdn.net/csm0912/article/details/90264026

         

         <2> 问题: 项目里面有nodejs下载的依赖包node_modules,那会发现webstorm打开会非常慢,设置卡死

                参考: 

                            https://www.cnblogs.com/chengwb/p/6183440.html

                            https://www.jianshu.com/p/44075da931d9

        <3> 问题:To install them, you can run: npm install --save autosize babel-runtime/core-js/array/from babel-runtime/          

       cnpm install core-js@2

               参考:https://www.cnblogs.com/zoo-x/articles/12876039.html  

      

          

  • 相关阅读:
    转载:通过Servlet生成验证码
    转载:web工程中URL地址的推荐写法
    使用Git上传本地项目代码到github
    $watch 和 $apply
    平时用的sublime插件
    zTree.js
    js
    npm install详解
    git
    git基础
  • 原文地址:https://www.cnblogs.com/lvlin241/p/12803868.html
Copyright © 2020-2023  润新知