Troubleshooting Guide
Incomplete files and folder structure
Monaca/Cordova projects initially consist of the following files and folders:
File/Folder
Description
www/
Storage folder for the main body of the application
config.xml
Cordova configuration file
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:
In the command line window, navigate to the project folder.
Run the
monaca transpile
command. This will generate thewww
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.
The user should create an empty
config.xml
file in the projectroot.
Copy the content of the
config.xml
file of the project in theCloud or the backup project.
Paste the content to the empty
config.xml
file.
See Also:
Last updated