I'm trying to create and deploy a MobileFirst Platform 6.3 application using the MobileFirst CLI. While running the server, I got the following error:
BUILD FAILED /Applications/IBM/MobileFirst-CLI/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml:361: Could not find worklightconsole.war. The element inside is missing an attribute 'warFile'.
Steps Followed:
- Installed Worklight CLI
- Created server
- Created project
- Created adapter
- Created hybrid app with iOS and Android environment.
- Started the server and got this error
Also when I opened the file mentioned in the error, I found that the <console>
tag is empty.
When I try to open the Worklight console in browser, it says "Context Root Not Found"
There was an error in the provided CLI. Please re-download.
With the above updated version, the following works: