Unable to test ZIS app locally
I am unable to follow ZIS tutorial as I cannot test the app locally. It does not appear in the navbar menu. I confirmed it with the provided source code from https://github.com/zendesk/demo_apps/tree/master/v2/zis/zendesk_app_as_admin_ui/part_1
When I run a local server and launch my instance with ?zcli_apps=true attribute, I get the following result:
$zcli apps:server ~/repos/mysubdomain_zis_tutorial/ --logs
Apps server is running on http://localhost:4567 🚀
Add ?zcli_apps=true to the end of your Zendesk URL to load these apps on your Zendesk account.
Tailing logs
GET /app.json?locale=en&subdomain=mysubdomain 200
I am using @zendesk/zcli/1.0.0-beta.14 wsl-x64 node-v16.13.0 (also tried beta 15). I have ZENDESK_SUBDOMAIN, ZENDESK_EMAIL, and ZENDESK_API_TOKEN environment variables defined.
I launched the instance using chromium (edge and brave) on windows and firefox on WSLg. Allowed insecure content. Tried incognito. Searched dev tools for errors in console tab. Filtered the network tab for any requests to localhost, but found nothing. There is no trace of the app other than this successful request in the logs. I am very confused. Help!
*** Update ***
I used ZAT server instead of zcli and it works. It seems to be an issue with zcli
-
Hey Ahmed,
Would you mind if we move this into a ticket so we can try replicating in your instance?
Thanks!
-
Hi Eric Nelson,
Thank you for your reply. I have completed the testing and moved on from the task. As I mentioned in the update, it worked with "zat server", so I think the issue was with "zcli". I understand it is still in beta, so I am not very concerned. I doubt I will be following up with the issue so there is no need for a ticket.
-
The same thing happened on my server. (? zcli_apps = true not worked)
However, the problem did not occur on another server. (? zcli_apps = trueworked)
I hope the problem is resolved. -
This is something that the ZCLI dev team is working on and if the proposed solution works, it will be available in the next release.
Iniciar sesión para dejar un comentario.
4 Comentarios