TypeError: ctor is not a constructor报错
今天写rn项目的时候,新增页面突然报了个TypeError: ctor is not a constructor的错误
export default connect((state) => {const {evaluationReducer} = state;return {evaluationReducer,};},{queryMyEvaluationList,queryMoreMyEvaluationList,},
)(EvaluationList);
把这里注释掉,用
export default EvaluationList;
就不报错了,目前原因总结为缓存问题,重启服务或者重启安卓模拟器可能会解决。
真正原因还不知道,等我知道了再写在下面。
要是有大佬知道原因,球球告诉我why,谢谢啦
TypeError: ctor is not a constructor报错相关推荐
- TypeError: ‘builtin_function_or_method‘ object is not subscriptable 报错解决方法
TypeError: 'builtin_function_or_method' object is not subscriptable 报错解决方法 参考文章: (1)TypeError: 'buil ...
- vue 路由里关于 TypeError: Converting circular structure to JSON 报错问题
首先放上报错内容 TypeError: Converting circular structure to JSON –> starting at object with constructor ...
- TypeError: ‘NoneType‘ object is not callable--python报错解决办法
报错为 翻译过来为:TypeError:"NoneType"对象不可调用 代码: def bibao_one():Jay = "哎哟不错哦"def bibao_ ...
- TypeError: fullscreen error at HTMLInputElement.toggleFullscreen 报错原因与解决方案
在使用iframe进行内容嵌套时候,如果内层页面有全屏的功能,点击内层全屏功能,就可能出现上述报错. 原因: iframe是有一个默认的属性allowfullscreen,默认值为false,默认不支 ...
- 关于TypeError: ‘function‘ object is not subscriptable 报错的解决方法
在使用这个的时候出了问题:b1=tf.Variable(tf.zeros([256]) tf.zeros[256]应该加括号->tf.zeros([256]) 张量方式实现全连接层 import ...
- vue中Uncaught (in promise) TypeError: Object(...) is not a function报错
在vue文件中引入,export导出的,你若要import必须加上{}; export default不需要.不能加
- 前端代码 Jenkins 线上打包报错:TypeError: StackFrame is not a constructor
两个月没来公司上班,今日开工遇到一个及其有意思的问题:Jenkins 线上打包前端代码,在控制台日志中打包的时候报错: When setting `useBuiltIns: 'usage'`, pol ...
- pyltp的初始化报错:segmentor = Segmentor() # 初始化实例TypeError: __init__(): incompatible constructor argument
代码 LTP_DATA_DIR = './ltp_data_v3.4.0' # ltp模型目录的路径 cws_model_path = os.path.join(LTP_DATA_DIR, 'cws. ...
- Eslint报错TypeError: this.cliEngine is not a constructor 解决方案
ESLint是一个用于识别和报告ECMAScript/JavaScript代码中的模式的工具,其目标是使代码更加一致并避免bug. 在许多方面,它与JSLint和JSHint相似,但有几个例外: ES ...
最新文章
- Spring Transactional还能导致生产事故?
- 云计算机运行内存,电脑内存,云服务器内存最深刻的解读!
- 三大缓存框架ehcache、memcache和redis的介绍
- Git笔记(一)——[commit, checkout]
- Linux下的TCP Wrapper机制
- 《用Python写网络爬虫》——1.5 本章小结
- Ajax和JSON-学习笔记01【原生JS方式实现Ajax】
- 【五分钟】看完一道有装逼解法的算法题
- python如何画虚线_Python威力巨大,五分钟如何绘制出漂亮的系统架构图?
- R7-1 What is a computer? (5 分)
- 无人机倾斜摄影技术应用(文末附作业指导书)
- win10便签如何卸载?win10便签卸载和安装方法
- 网页设计中的色彩搭配技巧
- 步进电机基础(2.6)-直线步进电机
- Gerrit no Verified 在最新的2.7版本之后添加Verified
- 芝诺悖论:一个跑得最快的人永远追不上跑得最慢的人
- Endnote中有的文献没有Pages信息怎么办?
- Microsoft Exchange Server 2007: Tony Redmond's Guide to Successful Implementation
- Codeforces Gym100543L Outer space invaders 区间dp 动态规划
- c语言指针与一维数组PPT,C语言第5章指针和一维数组.ppt