在公司启动一个react项目,添加公司的一个与原声交互的包就会报这个错误,目前还没有解决,想记录下解决过程.... 

尝试一、

删除node_modules 重新安装  删除package.lock 等  无效

尝试二、

在项目配置的打包文件中

把这个注释掉就可以了

能把这个注释掉的前提是 目前项目中没有使用到typescript 所以才可以注释掉

如果项目中使用了 那就要另外找解决方案了

我的大佬同事帮忙看的 在此记录下

TypeScript error in....node_modules/@types/babel__traverse/index.d.ts(68,50):相关推荐

  1. TypeScript error in node_modules/jest-diff/build/diffLines.d.ts

    出现情况:拉下项目后执行npm install npm start界面出现报错 报错信息 错误原因:仅导入类型声明 import type 和 仅导出类型声明 export type,旨在仅仅引入类型 ...

  2. vscode报错ERROR in node_modules/@types/node/ts3.5/globals.global.d.ts:1:13 - error TS2403: Subsequent

    报错信息 ERROR in node_modules/@types/node/ts3.5/globals.global.d.ts:1:13 - error TS2403: Subsequent var ...

  3. in ./node_modules/html-entities/lib/index.js终端报错

    error  in ./node_modules/html-entities/lib/index.js Module build failed: Error: ENOENT: no such file ...

  4. Vue 踩坑笔记: 引入 ElementUI 时打包失败修复记录(ERROR in ./node_modules/element-ui/lib/theme-chalk/index.css)

    Vue 踩坑笔记: 引入 ElementUI 时打包失败修复记录(ERROR in ./node_modules/element-ui/lib/theme-chalk/index.css Module ...

  5. ERROR in ./node_modules/element-ui/lib/theme-chalk/fonts/element-icons.ttf 1:0 Module parse failed:

    在使用 webpack 搭建 vue 项目时,添加了element-ui 在启动 webpack-dev-server 后报错 ERROR in ./node_modules/element-ui/l ...

  6. 运行ant-design-pro报错ERROR in ./node_modules/swagger-ui-react/swagger-ui.js 2:107055-107070Module not

    报错内容:  ERROR in ./node_modules/swagger-ui-react/swagger-ui.js 2:107055-107070 Module not found: Erro ...

  7. typescript error TS2322: Type ‘Timeout‘ is not assignable to type ‘number‘.

    源码 const timer:number = setTimeout(()=>{},1) 报错 typescript error TS2322: Type 'Timeout' is not as ...

  8. vue中自动导入导致的数十个报错,ERROR in ./node_modules

    我在写路由跳转的时候,突然运行后一下出现了几十个报错,都是了来自于 ./node_modules的 报错如下: ERROR in ./node_modules/import-fresh/index.j ...

  9. Module build failed (from ./node_modules/babel-loader/lib/index.js) 错误解决

    运行项目时报错 Module build failed (from ./node_modules/babel-loader/lib/index.js) 解决方案: 控制台输入  npm install ...

最新文章

  1. 用Scrum看板工具Leangoo做Sprint迭代管理-看板分享
  2. 数据结构实验之栈与队列八:栈的基本操作
  3. 如何降低微服务测试成本?
  4. 删除python类中所有未使用的方法?
  5. C#LeetCode刷题之#744-寻找比目标字母大的最小字母(Find Smallest Letter Greater Than Target)
  6. 在JS方法中返回多个值的三种方法
  7. python入门题目及答案_Python基础知识的一些练习与解答,python,部分,习题,及,答案...
  8. php怎么求阶乘_如何实现一个PHP类来计算整数的阶乘?(代码详解)
  9. redis字符串匹配_Redis设计原理
  10. 接口测试质量评估标准
  11. requestIdleCallback函数
  12. Go Elasticsearch 查询快速入门
  13. HTML图片热点及表单
  14. HttpClilent整合Spring使用【配置和代码】
  15. Android 视频压缩
  16. 模板template基础学习
  17. 钢铁侠是如何练成的(一)
  18. webrtc 快速搭建 视频通话 视频会议
  19. HMM隐马尔可夫模型详解
  20. 一份Yann LeCun等16个顶级数据科学家给新人的建议

热门文章

  1. Win10广告过多让人反感 外媒炮轰后微软改进了
  2. Dubbo和zookeeper整合SpringBoot时日志冲突问题
  3. 是“网抑云”还是“网愈云”?
  4. 关于Burp Suite Intruder 的四种攻击方式
  5. AIE磷脂化合物微球/AIE分子脂质体磷脂化合物微球/表面基团修饰AIE微球的制备过程
  6. Juicer——a fast template engine
  7. Sentinel-流控效果
  8. DNS关键词:DNS工作原理、A记录、CNAME记录、MX记录、PTR记录、SOA记录、NS记录
  9. 火云开发课堂 - 《使用Cocos2d-x 开发3D游戏》系列 第五节:模型的加载与渲染
  10. Android Studio的代码笔记--SN序列号、MAC地址、IP地址学习