catalystbyzohozohocatalystcatalystwebclienthostingcatalystclicatalystserve

"Cannot understand what targets.Please ensure that the desired features are initialised in the catalyst.json file." issue when using ZohoCatalyst CLI


While using the Zoho Catalyst CLI to debug locally, I get an error stating "Cannot understand what targets. Please ensure that the desired features are initialised in the catalyst.json file." This issue occurs while running catalyst serve command

error screenshot


Solution

  • You might not be in the correct folder path or you might have only initialized the project in your folder and have not pulled the code to your local system. You need to pull the code from the catalyst console to your local system to serve the same and test it. You can pull the code by using the command "catalyst pull".