TypeScript error in....node_modules/@types/babel__traverse/index.d.ts(68,50):
在公司启动一个react项目,添加公司的一个与原声交互的包就会报这个错误,目前还没有解决,想记录下解决过程....
尝试一、
删除node_modules 重新安装 删除package.lock 等 无效
尝试二、
在项目配置的打包文件中
把这个注释掉就可以了
能把这个注释掉的前提是 目前项目中没有使用到typescript 所以才可以注释掉
如果项目中使用了 那就要另外找解决方案了
我的大佬同事帮忙看的 在此记录下
TypeScript error in....node_modules/@types/babel__traverse/index.d.ts(68,50):相关推荐
- TypeScript error in node_modules/jest-diff/build/diffLines.d.ts
出现情况:拉下项目后执行npm install npm start界面出现报错 报错信息 错误原因:仅导入类型声明 import type 和 仅导出类型声明 export type,旨在仅仅引入类型 ...
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- 运行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 ...
- typescript error TS2322: Type ‘Timeout‘ is not assignable to type ‘number‘.
源码 const timer:number = setTimeout(()=>{},1) 报错 typescript error TS2322: Type 'Timeout' is not as ...
- vue中自动导入导致的数十个报错,ERROR in ./node_modules
我在写路由跳转的时候,突然运行后一下出现了几十个报错,都是了来自于 ./node_modules的 报错如下: ERROR in ./node_modules/import-fresh/index.j ...
- Module build failed (from ./node_modules/babel-loader/lib/index.js) 错误解决
运行项目时报错 Module build failed (from ./node_modules/babel-loader/lib/index.js) 解决方案: 控制台输入 npm install ...
最新文章
- 用Scrum看板工具Leangoo做Sprint迭代管理-看板分享
- 数据结构实验之栈与队列八:栈的基本操作
- 如何降低微服务测试成本?
- 删除python类中所有未使用的方法?
- C#LeetCode刷题之#744-寻找比目标字母大的最小字母(Find Smallest Letter Greater Than Target)
- 在JS方法中返回多个值的三种方法
- python入门题目及答案_Python基础知识的一些练习与解答,python,部分,习题,及,答案...
- php怎么求阶乘_如何实现一个PHP类来计算整数的阶乘?(代码详解)
- redis字符串匹配_Redis设计原理
- 接口测试质量评估标准
- requestIdleCallback函数
- Go Elasticsearch 查询快速入门
- HTML图片热点及表单
- HttpClilent整合Spring使用【配置和代码】
- Android 视频压缩
- 模板template基础学习
- 钢铁侠是如何练成的(一)
- webrtc 快速搭建 视频通话 视频会议
- HMM隐马尔可夫模型详解
- 一份Yann LeCun等16个顶级数据科学家给新人的建议
热门文章
- Win10广告过多让人反感 外媒炮轰后微软改进了
- Dubbo和zookeeper整合SpringBoot时日志冲突问题
- 是“网抑云”还是“网愈云”?
- 关于Burp Suite Intruder 的四种攻击方式
- AIE磷脂化合物微球/AIE分子脂质体磷脂化合物微球/表面基团修饰AIE微球的制备过程
- Juicer——a fast template engine
- Sentinel-流控效果
- DNS关键词:DNS工作原理、A记录、CNAME记录、MX记录、PTR记录、SOA记录、NS记录
- 火云开发课堂 - 《使用Cocos2d-x 开发3D游戏》系列 第五节:模型的加载与渲染
- Android Studio的代码笔记--SN序列号、MAC地址、IP地址学习