Published on: 11 July, 2016

Current working directory is not a Cordova based project.

Posted by andy | 2077 views 1 likes 1 favourites 0 comments
Tumblr Digg Google Plus

Are you completely new to Cordova programming? If you visit the cordova site and follow the example step by step. On the time you create the project and try to add a platform, if you forget to navigate to the your project name directory and you set your preference platform. You will receive the following error message Current working directory is not a Cordova based project..

To fix this problem is pretty simple, make sure you navigate to the directory of your created project and re-execute the command again. See below image for more details.

Comments

There are no comments available.

Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.
Related Articles
Published on: 18 September, 2017
This is the second part tutorial of our first ebook cordova tutorial. If you miss the first part of the tutorial, I would recommend you to read the first tutorial before continue reading this article. You can click the following link to read the first tutorial. As I promised, in this tutorial, you will learn how to package your ebook app into .apk file. The first thing you have to do is to configure your application configuration setting xml file. This configuration information is used by Cordova to package your application. The configuration xml file is located under the root folder named config.xml. If you open your config xml file using any text editor, you will have the following information.
Published on: 08 August, 2017
You will learn how to create your first android app using Cordova. The ebook will consists of 5 basic pages and will use AngularJS for the navigation, Slideout script for the menu navigation and Bootstrap template for the basic mobile layout.