Troubleshooting Guide
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.The user should create a
www
folder 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 transpile
command. This will generate thewww
folder 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.xml
file in the projectroot. - 2.Copy the content of the
config.xml
file of the project in theCloud or the backup project. - 3.Paste the content to the empty
config.xml
file.
See Also:
Last modified 2yr ago