Mac下编译在windows创建的项目TypeError: Cannot read property 'message' of undefined...解决方案
来源:互联网 发布:idea怎么关联源码 编辑:程序博客网 时间:2024/06/04 19:05
症状:
(node:15409) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
(node:15409) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
原因:
gradlew没有执行权限,权限为:-rw-r--r--
解决方案:
切换到Android目录,执行命令 chmod +x gradlew
再用ls -l 命令检查一下结果,发现gradlew前面的权限已经变成了-rwxr-xr-x
0 0
- Mac下编译在windows创建的项目TypeError: Cannot read property 'message' of undefined...解决方案
- "TypeError: Cannot read property 'undefined' of undefined"
- TypeError: Cannot read property 'parentNode' of undefined
- TypeError: Cannot read property 'left' of undefined
- TypeError: Cannot read property 'newLine' of undefined
- TypeError: Cannot read property 'password' of undefined
- TypeError: Cannot read property 'query' of undefined
- 浏览器报Uncaught TypeError: Cannot read property 'trigger' of undefined解决方案
- 浏览器报Uncaught TypeError: Cannot read property 'trigger' of undefined解决方案
- 浏览器报Uncaught TypeError: Cannot read property 'trigger' of undefined解决方案
- Extjs4---Uncaught TypeError: Cannot read property ‘items’ of undefined
- 【StackFlow】Uncaught TypeError: Cannot read property 'pageCount' of undefined
- Ckeditor: Uncaught TypeError: Cannot read property 'keyCode' of undefined 解决方法
- Uncaught TypeError: Cannot read property 'msie' of undefined问题解决方案
- Uncaught TypeError: Cannot read property 'options' of undefined 错误
- Uncaught TypeError: Cannot read property 'length' of undefined
- 错误:Uncaught TypeError: Cannot read property 'WebSocket' of undefined
- Uncaught TypeError: Cannot read property 'value' of undefined
- 【算法】程序猿不写代码是不对的19
- 创建Excel模板 (2007)
- 第七届C/C++B-方格填数 DFS
- iOS项目中一次性屏蔽打印多余内容的方法
- java基础学习API之String类 六-1
- Mac下编译在windows创建的项目TypeError: Cannot read property 'message' of undefined...解决方案
- 有关星号的算法
- Redhat7对于ifconfig命令问题的解决方法
- CSS盒模型
- Nginx和Apache的优缺点比较
- 在不同系统情况下安装sun公司JDK以及Linux下安装Centos 7.0图文详解
- RN第三方下载组件
- Windows下面制作绿色版的Python
- 开发人员也要关心产品设计