【发布时间】:2015-05-28 22:10:15
【问题描述】:
我使用 cordova 和 ionic 框架开发了一款移动应用。我想在我的手机中测试该应用程序,但是当我尝试以下命令时
$ ionic run android 它显示了以下错误:
$ ionic run android
Error { [Error: ENOENT, no such file or directory 'C:\Users\work\hooks']
errno: -4058,
code: 'ENOENT',
path: 'C:\\Users\\work\\hooks',
syscall: 'scandir' }
Updated the hooks directory to have execute permissions
Current working directory is not a Cordova-based project.
如何解决这个问题? 文档的链接是Here
【问题讨论】: