TypeError: cb.apply is not a function
参考
升级Node版本RN项目运行报错cb.apply is not a function
错误
Loading dependency graph, done.DELTA [android, dev] ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)/Users/tmk/Downloads/Timekettle/node_modules/graceful-fs/polyfills.js:285if (cb) cb.apply(this, arguments)^TypeError: cb.apply is not a functionat /Users/tmk/Downloads/Timekettle/node_modules/graceful-fs/polyfills.js:285:20at FSReqCallback.oncomplete (node:fs:192:5)
Process terminated. Press <enter> to close the window
解决:
查看报错的源码,在node_module/graceful-fs/polyfills.js的285行
看注释应该用来处理旧版本的问题,查看这个方法的调用位置发现在61-63行
对于我们来说,既然是旧版的问题,我们就不用关心了,直接把调用的方法注释调就行了。
TypeError: cb.apply is not a function相关推荐
- 查看node的位置_升级Node版本RN项目运行报错cb.apply is not a function
今日打算安装一下ReactNative官方推荐的脚手架工具Ignite. infinitered/ignitegithub.com Ignite是一套整合了 Redux 以及一些常见 UI 组件的脚 ...
- npm ERR! cb.apply is not a function npm ERR! A complete log of this run can be found in: npm ERR!
npm ERR! cb.apply is not a function npm ERR! A complete log of this run can be found in: npm ERR! C: ...
- npm 报错cb.apply is not a function
npm 报错cb.apply is not a function的解决办法: 按照这个目录C:\Users(your username)\AppData\Roaming 可以Win + r 输入 %a ...
- 微信小程序 TypeError: r.apply is not a function
找了半天跳转页面的错误,最后发现是跳转到的页面函数写错了..
- 安装node-sass运行报错 Module build failed: TypeError: this.getResolve is not a function at Object.loader
在搭建vue脚手架 或者是在vue项目中,想使用sass的功能, npm install node-sass --save-dev //安装node-sass npm install sass-loa ...
- extjs之TypeError: d.read is not a function解决方案
在创建如下代码时报出此错:TypeError: d.read is not a function 1 Ext.define('shebyxgl_sheb_model', { 2 extend: 'Ex ...
- TypeError: Router.use() requires a middleware function but got a Object报错解决
1.在运行nodejs-mongodb项目时,项目报错 TypeError: Router.use() requires a middleware function but got a Object ...
- VUE:解决 [Vue warn]: Error in render: “TypeError: item.slice is not a function“ (取部分数据)
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 双重循环中使用 slice方法,报错: [Vue warn]: Error in render ...
- TypeError: db.addUser is not a function : @(shell):1:1 ——mongoDB创建新用户名密码的方法...
不多说,旧版本使用 db.addUser("root","root") 新版本使用这句会出现这个错误提示 TypeError: db.addUser is no ...
最新文章
- 【SVN】svn“E155017工作副本的参考文件损坏、E200014文件校验和不匹配”的解决方法
- 如何创建可扩展表视图中的iOS 学习和拓展优化(有待更新)
- oracle spm buffer get比较过程,Oracle 11g 新特性 -- SQL Plan Management 示例
- JavaScript中递归使用
- Annotation processing seems to be disabled for the project microservicecloud
- android h5语音,html5录音支持pc和Android、ios部分浏览器,微信也是支持的,JavaScript getUserMedia...
- jquery easyui 多选下拉框的实现
- python小屋_1000道Python题库系列分享九(31道)
- 北京赛区参赛选手代表吴翼在开幕式上的发言稿完整版2011年11月02日 09:50:34
- Integer和String必问知识点,面试字节跳动Java工程师该怎么准备
- 小程序中从后台获取内容纯数字、纯字母超出父盒子宽度时不换行 解决方法
- Maven安装和使用(详细版)
- PHP中根据汉字返回拼音
- linux中cpu_to_be32,Linux cpufreq framework(2)
- Word里面最难删的东西,困扰了97.99%的职场人,实在是太烦人了
- 高德地图做汽车路线规划的时候清除之前的路线
- iOS_44_导入第3方APP内的文件_UTI
- 服务器虚拟化实验报告,服务器虚拟化Hyper-v 3.0实训培训
- python xlsx文件与csv文件转换
- 巨噬细胞膜包裹载HCPT-PLGA纳米粒(HCPT-MCNP)|生物膜包载去氧氟尿苷