Troubleshooting Guide

Incomplete files and folder structure

Monaca/Cordova projects initially consist of the following files and folders:

In this section, we will talk about how to fix your project if the www/ or config.xml file is missing.

Missing the www folder

For standard projects

The user should create a www folder in the project root or restore the previous backup of the folder.

For Webpack projects

The user should proceed as follows:

  1. In the command line window, navigate to the project folder.

  2. Run the monaca transpile command. This will generate the www folder with the body of the application.

Missing the config.xml file

This solution will only work if your project exists in the Monaca Cloud or you have a backup version of it.

  1. The user should create an empty config.xml file in the project

    root.

  2. Copy the content of the config.xml file of the project in the

    Cloud or the backup project.

  3. Paste the content to the empty config.xml file.

See Also:

Last updated