Monaca/Cordova projects initially consist of the following files and folders:
Storage folder for the main body of the application
Cordova configuration file
In this section, we will talk about how to fix your project if the
config.xmlfile is missing.
The user should create a
wwwfolder in the project root or restore the previous backup of the folder.
The user should proceed as follows:
- 1.In the command line window, navigate to the project folder.
- 2.Run the
monaca transpilecommand. This will generate the
wwwfolder with the body of the application.
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.xmlfile in the projectroot.
- 2.Copy the content of the
config.xmlfile of the project in theCloud or the backup project.
- 3.Paste the content to the empty