【问题标题】:Adding cordova to existing angular-lungo template将科尔多瓦添加到现有的 angular-lungo 模板
【发布时间】:2013-08-08 04:41:04
【问题描述】:

我试图弄清楚如何将cordova 添加到我的项目中,其中包含angular.js 和lungo.js。这是我得到的错误:

Error: Current working directory is not a Cordova-based project.

如何使它成为 Cordova 项目?

我也尝试过相反的方法。那是:首先创建一个cordova项目,然后在其中添加angular.js和lungo.js。我正在使用 grunt 来初始化脚手架模板。

这是错误:

Philippes-MacBook-Pro:hello Phil$ grunt-init lungo-angular-bridge
Running "init:lungo-angular-bridge" (init) task
This task will create one or more files in the current directory, based on the
environment and the answers to a few questions. Note that answering "?" to any
question will show question-specific help and answering "none" to most questions
will leave its value blank.

Warning: Existing files may be overwritten! Use --force to continue.

Aborted due to warnings.

现在,我不确定如何正确包含cordova、angular.js、lungo.js。 任何帮助,将不胜感激。

谢谢, 菲尔。

【问题讨论】:

    标签: javascript web-applications android


    【解决方案1】:

    我要检查的第一件事是是否正在创建 .cordova 文件。 如果没有,请尝试从存储库运行此命令:cordova create

    【讨论】:

      猜你喜欢
      • 2018-09-12
      • 2023-03-06
      • 2016-06-19
      • 1970-01-01
      • 2016-01-29
      • 2017-12-31
      • 2015-08-13
      • 2016-08-11
      • 2018-06-17
      相关资源
      最近更新 更多