我们在执行  npm run dev 时,报下面的错误,    Error: Cannot find module 'chalk'  .....或Cannot find module 'semver'

直接的解决方案:删掉原来的 node_modules 依赖  重新安装,(执行两句命令)

1.rm -rf node_modules

2.npm install

接着就可以   npm run dev 就OK了!

Error: Cannot find module 'chalk' 或Cannot find module 'semver'报错相关推荐

  1. 解决AttributeError: module ‘scipy.misc‘ has no attribute ‘imread‘报错问题

    运行python程序报错:AttributeError: module 'scipy.misc' has no attribute 'imread' 报错原因1:scipy版本过高 解决方案:降低sc ...

  2. IAR编译出现Error[Pe147]: declaration is incompatible with “__interwork __vfp int dir_get_dout()“ 报错

    IAR编译出现Error[Pe147]: declaration is incompatible with "__interwork __vfp int dir_get_dout()&quo ...

  3. uncaught exception: Error: couldn’t add user: No role named root@myblog : 报错的解决方法

    uncaught exception: Error: couldn't add user: No role named root@myblog : 报错的解决方法 说明 最近在学习 MongoDB创建 ...

  4. python pip下载本地依赖包,并在离线环境中安装,并解决报错ERROR: Could not find a version that satisfies the requirement报错

    文章目录 步骤1:导出依赖 步骤2:离线下载依赖包 步骤3:进入新环境使用python安装依赖 整体思路如下: 首先根据项目需要导出依赖包,由于本地的python环境中其实安装了很多乱七八糟的包,这些 ...

  5. Error: Loading chunk * failed,Vue Router懒加载报错问题解决方案

    最近vue项目路由改成了懒加载方式,刚开始并没有什么问题,清空项目文件,重新下载配置运行后,就发现控制台报以下错误: [vue-router] Failed to resolve async comp ...

  6. Unexpected error while obtaining UI hierarchy:使用uiautomatorviewer定位元素报错

    1.问题描述 在使用Uiautomatorviewer 进行元素定位时,点击 快照 按钮出现以下错误: 2.发生原因 Unexpected error while obtaining UI hiera ...

  7. 解决:module 'xlrd' has no attribute 'open_workbook'的报错

    D:\python\p\python.exe F:/xlrd/xlrd.py Traceback (most recent call last):   File "F:/xlrd/xlrd. ...

  8. 解决internal/modules/cjs/loader.js:892 ^Error: Cannot find module ‘C:\Users\LX\Desktop\Node_DEMO\a报错

    刚开始学习node.js,一开始就报错,心态崩了 --------------------------------------------------------------------------- ...

  9. 535 5.7.8 Error: authentication failed: generic failure安装EMOS时SMTP测试报错

    按照官方手册安装EMOS时候,进行到SMTP认证测试的时候报如下错: 535 5.7.8 Error: authentication failed: generic failure 原来是因为之前关闭 ...

  10. Error 403 No valid crumb was included in the request 报错解决 容器化jenkins关闭CSRF

    现象 gitlab 连接 安装在容器中的jenkins时,如果使用的是高版本的 jenkins ,会出现403错误,Error 403 No valid crumb was included in t ...

最新文章

  1. apache+jk+tomcat集群+session同步
  2. python 美颜人脸
  3. 初学Java Web(9)——学生管理系统(简易版)总结
  4. Pytorch install
  5. 中兴a2018拆机图片_中兴天机拆机步骤详解【图文】
  6. 相似性度量:机器学习距离公式总结
  7. 三元一次方程组步骤_人教版数学七年级下册8.4三元一次方程组的解法精讲
  8. 通过反射修改强转值类型_什么是反射机制?反射机制的应用场景有哪些?
  9. redis1.2.6 sds.c
  10. 公有云、私有云与混合云到底有什么区别?
  11. 6python项目 体脂率计算优化2
  12. 西南交通大学高级语言程序设计(SCAI000812)第2次实验报告-学生成绩管理系统(链表版)
  13. layui table 改变列表字体颜色
  14. python调用so库 undefind symbol_内嵌Python import时undefined symbol错误及解决 | 学步园
  15. 机器学习python基础(一)魔法命令
  16. Solr Replication
  17. 如何创建React项目
  18. 造物数藏:以数字藏品为契机 不断完善应用场景探索
  19. 全终端办公电子邮件集成方案
  20. 【Unity VFX】VFX特效入门笔记-火花制作

热门文章

  1. ffmpeg文档8:软件缩放
  2. 洛谷P1217回文质数
  3. 数论基础——素数判断约数枚举整数分解(模板)
  4. 分解质因数(包括证明的详解)
  5. 全国多年平均相对湿度空间分布数据
  6. 双向链表与LinkedHashMap
  7. 题目263-精 挑 细 选
  8. arduino 上传项目出错_活动回顾 | 续报率80%的Arduino试听课,确定不来看看吗?
  9. gprs发送消息给服务器,gprs发送到云服务器
  10. mysql 线程内存 回收_【MySQL】InnoDB后台线程与内存缓存池