Javascript 将cordova添加到现有角度lungo模板

Javascript 将cordova添加到现有角度lungo模板,javascript,web-applications,android,Javascript,Web Applications,Android,我正试图弄清楚如何将cordova添加到包含angular.js和lungo.js的项目中。下面是我得到的错误: Error: Current working directory is not a Cordova-based project. 我怎样才能把它变成科尔多瓦项目 我也试过另一种方法。那就是:首先创建一个cordova项目,然后在其中添加angular.js和lungo.js。我正在使用grunt初始化脚手架模板 以下是错误: Philippes-MacBook-Pro:hello

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

Error: Current working directory is not a Cordova-based project.
我怎样才能把它变成科尔多瓦项目

我也试过另一种方法。那就是:首先创建一个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。 任何帮助都将不胜感激

谢谢,,
菲尔。

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